dotfiles/.config/Code/User/History/15918d07/gtba.h
RafayAhmad7548 ab03d5f10c test
2024-06-16 18:53:25 +05:00

20 lines
No EOL
309 B
C++

#pragma once
class Food{
protected:
int x;
int y;
float *color;
static int counter;
public:
Food(int x, int y, float *color);
virtual void draw() = 0;
virtual void activatePowerup(Paddle& paddle, Ball& ball) = 0;
void fall();
int getX();
int getY();
~Food();
};