Refactored code to do dynamic_casts in fewer places
This commit is contained in:
4
game.h
4
game.h
@ -38,9 +38,9 @@ class Game : public GameState
|
||||
bool right, bool middle);
|
||||
|
||||
private:
|
||||
void draw_stats(Vertex* v);
|
||||
void draw_stats(GameVertex* v);
|
||||
void draw_button(MenuButton* button);
|
||||
void draw_node(Vertex* v);
|
||||
void draw_node(GameVertex* v);
|
||||
|
||||
void handle_button_press(ButtonAction action);
|
||||
|
||||
|
Reference in New Issue
Block a user