Major refactoring - moved constants around, made graph class more graphy, put things where they belong. Simplified a lot of code that I wrote when I wasn't thinking clearly, apparently.
This commit is contained in:
@ -41,8 +41,8 @@ class GameCore : public MainEvent
|
||||
// data
|
||||
Graph graph;
|
||||
|
||||
// constants
|
||||
static int NODE_SIZE;
|
||||
static int NODE_RADIUS;
|
||||
static int MAX_MOVE_DISTANCE;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user