Added ability to actually build different unit types, as well as icons to distinguish them
This commit is contained in:
4
game.h
4
game.h
@ -40,6 +40,7 @@ class Game : public GameState
|
||||
private:
|
||||
void draw_stats(Vertex* v);
|
||||
void draw_button(MenuButton* button);
|
||||
void draw_node(Vertex* v);
|
||||
|
||||
void handle_button_press(ButtonAction action);
|
||||
|
||||
@ -52,6 +53,9 @@ class Game : public GameState
|
||||
// surfaces containing textures to draw
|
||||
SDL_Surface* background;
|
||||
TTF_Font* font;
|
||||
SDL_Surface* attacker_icon;
|
||||
SDL_Surface* defender_icon;
|
||||
SDL_Surface* producer_icon;
|
||||
|
||||
// menu buttons
|
||||
list<MenuButton*> buttons;
|
||||
|
Reference in New Issue
Block a user