summary refs log tree commit diff stats
path: root/gamestate.h
blob: 727c8f1bab6a141f8813a94fd5046fb99025537f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef GAMESTATE_H
#define GAMESTATE_H

class GameState : public State {
	private:
		Uint32 player_color;
		int playerx, playery;
		bool newGame;
		bool doneMaking;
		Level level;
		Board board;
		void move(int x, int y);

	public:
		GameState();
		void input(SDLKey key);
		void tick();
		void render(SDL_Surface* screen);
};

#endif