1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 05:24:58 +00:00
serenity/Userland/Games/GameOfLife/Pattern.h
Timothy Flynn c911781c21 Everywhere: Remove needless trailing semi-colons after functions
This is a new option in clang-format-16.
2023-07-08 10:32:56 +01:00

26 lines
596 B
C++

/*
* Copyright (c) 2021, Ryan Wilson <ryan@rdwilson.xyz>
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include "Board.h"
#include <AK/Vector.h>
#include <LibGUI/Event.h>
#include <LibGUI/Forward.h>
class Pattern final {
public:
Pattern(Vector<DeprecatedString>);
Vector<DeprecatedString> pattern() { return m_pattern; }
GUI::Action* action() { return m_action; }
void set_action(GUI::Action*);
void rotate_clockwise();
private:
RefPtr<GUI::Action> m_action;
Vector<DeprecatedString> m_pattern;
};