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

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

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

#endif