We don't need much, so drop the framerate to make the game eat almost no CPU
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
#include "gamestate.h"
|
#include "gamestate.h"
|
||||||
|
|
||||||
unsigned int GameState::FPS = 60;
|
unsigned int GameState::FPS = 20;
|
||||||
|
|
||||||
GameState::GameState(stack<GameState*>* state_stack, SDL_Surface* display)
|
GameState::GameState(stack<GameState*>* state_stack, SDL_Surface* display)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user