mirror of
https://github.com/dylanbenzi/terminaltrainers.git
synced 2026-11-27 07:47:01 +00:00
add more pokemon class functions
This commit is contained in:
@@ -10,14 +10,22 @@ class Pokemon {
|
||||
public:
|
||||
string name;
|
||||
int id;
|
||||
olc::vi2d worldPos;
|
||||
|
||||
Pokemon(int id, string name);
|
||||
Pokemon(int id, string name, olc::vi2d worldPos);
|
||||
|
||||
void drawPokemon(int id);
|
||||
void drawPokemon(olc::PixelGameEngine *pge, olc::Sprite *pokemonSprite, olc::vi2d worldPos);
|
||||
void drawPokemon(olc::PixelGameEngine *pge, olc::Sprite *pokemonSprite, float tileOffsetX, float tileOffsetY);
|
||||
void drawPokemon(olc::PixelGameEngine *pge, olc::Sprite *pokemonSprite, int &tileX, int &tileY);
|
||||
void drawPokemon(string name);
|
||||
|
||||
void draw(olc::PixelGameEngine *pge, olc::Sprite *pokemonSprite, int nOffsetX, int nOffsetY, float tileOffsetX, float tileOffsetY);
|
||||
|
||||
int getRandomPokemonId();
|
||||
int getID(string name);
|
||||
int getName(int it);
|
||||
olc::vi2d getCoordinate();
|
||||
};
|
||||
|
||||
extern vector<Pokemon> allPokemon;
|
||||
|
||||
Reference in New Issue
Block a user