mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:27:34 +00:00
Snake: Use NonnullRefPtrVector.
This commit is contained in:
parent
75a24c3a1f
commit
d403e56494
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/CircularQueue.h>
|
||||
#include <AK/NonnullRefPtrVector.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
|
||||
class SnakeGame : public GWidget {
|
||||
|
@ -59,5 +60,5 @@ private:
|
|||
unsigned m_high_score { 0 };
|
||||
String m_high_score_text;
|
||||
|
||||
Vector<NonnullRefPtr<GraphicsBitmap>> m_fruit_bitmaps;
|
||||
NonnullRefPtrVector<GraphicsBitmap> m_fruit_bitmaps;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue