okay so i am trying to get my sprite to draw in 4 different colours, everything about the sprite is the same except its position and colour.I am trying to get THIRSTIE_COLOUR (which is my enum) to choose one of four different textures but i cant seem to get it to load different ones it just loads the same colour sprite
1 2 3 4 5 6 7
for( int i = 0; i < 4; ++i )
{
Thirsties* pThirsty = new Thirsties(THIRSTIE_COLOUR, (180 * i) + 180, (120 * i) + 105);
pThirsty->OnLoad();
m_pThirsties.push_back(pThirsty);
}
this is the enum i am using
1 2 3 4 5 6 7 8 9
enum THIRSTIE_COLOUR
{
Blue,
Purple,
Orange,
Green
};