Code for some of the basic game design - selecting existing nodes, limiting edge distance
This commit is contained in:
@ -38,9 +38,14 @@ class GameCore : public MainEvent
|
||||
// textures to draw
|
||||
SDL_Surface* background;
|
||||
SDL_Surface* node;
|
||||
SDL_Surface* move_template;
|
||||
|
||||
// data
|
||||
Graph graph;
|
||||
|
||||
// constants
|
||||
static int NODE_SIZE;
|
||||
static int MAX_MOVE_DISTANCE;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user