/src/sssnakesss.cpp |
---|
102,6 → 102,8 |
checkEvents(); |
update(); |
draw(); |
SDL_GL_SwapBuffers(); |
} |
} |
126,10 → 128,13 |
void SSSNAKESSS::draw() |
{ |
//drawTexture(textures["thing.png", 0, 0); |
} |
void SSSNAKESSS::end() |
{ |
SDL_FreeSurface(screen); |
SDL_Quit(); |
} |
vector<string> SSSNAKESSS::listDir(string dirName) |