13 lines
134 B
C
13 lines
134 B
C
![]() |
|
||
|
class Food{
|
||
|
|
||
|
int x;
|
||
|
int y;
|
||
|
float *color;
|
||
|
|
||
|
public:
|
||
|
|
||
|
Food(int x, int y, float *color) : x(x), y(y), color(color){}
|
||
|
|
||
|
|
||
|
};
|