30 sprite->
SetSprite(
"player_entity",
"Resources/SpriteEntities/entity_"+to_string(
Random_Int(1, 15) ) +
".png");
ComponentTypeID GetComponentTypeID_Static()
bool Register(const std::string &className, CreatorFunction creator)
Enregistre une fonction de cr�ation pour un nom de classe donn�.
static ObjectFactory & Get()
ObjectComponent * AddComponent(const std::string &className, Object *owner)
static bool FactoryRegistered
void SetSprite(SDL_Texture *texture)
int Random_Int(const int a, const int b)