mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:17:34 +00:00
Snake: Add some more fruit types.
This commit is contained in:
parent
4619019481
commit
c9b86be1cc
6 changed files with 23 additions and 6 deletions
|
@ -50,10 +50,11 @@ private:
|
|||
Vector<Coordinate> m_tail;
|
||||
|
||||
Coordinate m_fruit;
|
||||
int m_fruit_type { 0 };
|
||||
|
||||
int m_length { 0 };
|
||||
unsigned m_score { 0 };
|
||||
String m_score_text;
|
||||
|
||||
RetainPtr<GraphicsBitmap> m_fruit_bitmap;
|
||||
Vector<Retained<GraphicsBitmap>> m_fruit_bitmaps;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue