Skip to content

Commit 1e06a63

Browse files
Kyle GrageKyle Grage
authored andcommitted
Visitor for wonder
1 parent b961a64 commit 1e06a63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/GameVisitor.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class Road;
88
class City;
99
class Player;
1010
class DevelopmentCard;
11+
class Wonder;
1112

1213
/**
1314
* A class to be extended with callbacks to handle the different classes in the model.
@@ -28,6 +29,7 @@ class GameVisitor {
2829
virtual void visit(Player&) = 0;
2930
virtual void visit(ResourceTile&) = 0;
3031
virtual void visit(DevelopmentCard&) = 0;
32+
virtual void visit(Wonder&) = 0;
3133
};
3234

33-
#endif
35+
#endif

0 commit comments

Comments
 (0)