More implementation for attacking

This commit is contained in:
2011-06-24 12:18:52 -04:00
parent 931ced321a
commit e51a328641
4 changed files with 44 additions and 20 deletions

View File

@ -49,7 +49,8 @@ class Graph
list<Vertex*> get_vertices() const { return vertices; }
list<Edge> get_edges() const { return edges; }
list<Vertex*> get_colour(int colour);
list<Edge> get_vertex_edges(Vertex* v);
list<Edge> get_edges(Vertex* v);
list<Vertex*> get_neighbors(Vertex* v);
bool point_in_vertex(int x, int y, int size);
Vertex * vertex_at(int x, int y);