test
This commit is contained in:
parent
37776af5db
commit
ab03d5f10c
4045 changed files with 286212 additions and 3 deletions
17
.config/Code/User/History/-78f4582a/AZPv.cpp
Normal file
17
.config/Code/User/History/-78f4582a/AZPv.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
#include "Food.h"
|
||||
#include "util.h"
|
||||
|
||||
class YellowFood : public Food{
|
||||
|
||||
const int dimension = 20;
|
||||
|
||||
public:
|
||||
|
||||
PinkFood(int x, int y) : Food(x, y, colors[PINK]){}
|
||||
void draw() override{
|
||||
DrawSquare(x, y, dimension, color);
|
||||
}
|
||||
~PinkFood(){}
|
||||
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue