Code for some of the basic game design - selecting existing nodes, limiting edge distance

This commit is contained in:
2011-06-22 22:32:33 -04:00
parent 53f1560393
commit 48c45c2191
4 changed files with 64 additions and 9 deletions

View File

@ -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