mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:47:45 +00:00
GameOfLife: Replace DeprecatedString with String
This commit is contained in:
parent
e3cd789ea8
commit
9cd3477763
3 changed files with 99 additions and 100 deletions
|
@ -14,13 +14,13 @@
|
|||
|
||||
class Pattern final {
|
||||
public:
|
||||
Pattern(Vector<DeprecatedString>);
|
||||
Vector<DeprecatedString> pattern() { return m_pattern; }
|
||||
Pattern(Vector<String>&&);
|
||||
Vector<String> pattern() const { 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;
|
||||
Vector<String> m_pattern;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue