|
Pacman
1.0
Pacman game
|
Gomme class. Plus de détails...
#include <Gomme.h>
Fonctions membres publiques | |
| Gomme (int x, int y, SDL_Rect sprite) | |
| ~Gomme () | |
| void | render (SDL_Renderer *renderer, SDL_Texture *texture) |
| int | getX () const |
| int | getY () const |
| int | getType () const |
Attributs privés | |
| int | x_pixel |
| int | y_pixel |
| SDL_Rect | sprite |
| int | type |
Gomme class.
This class is responsible for storing the pacgum and the super pacgum. (or dots) It also is responsible for rendering them.
| Gomme::Gomme | ( | int | x, |
| int | y, | ||
| SDL_Rect | sprite | ||
| ) |
| Gomme::~Gomme | ( | ) |
| int Gomme::getType | ( | ) | const |
| int Gomme::getX | ( | ) | const |
| int Gomme::getY | ( | ) | const |
| void Gomme::render | ( | SDL_Renderer * | renderer, |
| SDL_Texture * | texture | ||
| ) |
|
private |
|
private |
|
private |
|
private |