mirror of
https://github.com/dylanbenzi/terminaltrainers.git
synced 2026-11-27 07:47:01 +00:00
add comments and cleanup functions
This commit is contained in:
@@ -13,21 +13,11 @@ public:
|
||||
olc::vi2d worldPos;
|
||||
|
||||
Pokemon(int id, string name);
|
||||
Pokemon(int id, string name, olc::vi2d worldPos);
|
||||
|
||||
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;
|
||||
//global vector of 151 pokemon
|
||||
extern const vector<Pokemon> allPokemon;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user