SDL Minigame  1.0
Loading...
Searching...
No Matches
AssetManager Class Reference

Public Member Functions

 AssetManager (Manager *manager)
 
void createProjectile (Vector2D pos, Vector2D velocity, int scale, int range, int speed, const char *texturePath, Entity::TeamLabel teamLabel)
 
void createPowerup (Vector2D pos, PowerupType type)
 
Vector2D calculateSpawnPosition ()
 
PowerupType calculateType ()
 
void addTexture (std::string id, const char *path)
 
void addSoundEffect (std::string id, const char *path)
 
SDL_Texture * getTexture (std::string id)
 
Mix_Chunk * getSound (std::string id)
 

The documentation for this class was generated from the following files: