- Timestamp:
- Oct 31, 2018, 11:27:04 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wagnis_HS18/src/modules/wagnis/WagnisGameboard.cc
r12051 r12067 1 2 3 4 5 6 7 1 #include "WagnisGameboard.h" 8 2 #include "core/CoreIncludes.h" … … 29 23 //XML Port 30 24 void WagnisGameboard::XMLPort(Element& xmlelement,XMLPort::Mode mode){ 25 SUPER(WagnisGameboard, XMLPort, xmlelement, mode); 31 26 32 XMLPortObject(WagnisGameboard, WagnisProvince, "Province ", addProvince, getProvince, xmlelement, mode);27 XMLPortObject(WagnisGameboard, WagnisProvince, "Provinces", addProvince, getProvince, xmlelement, mode); 33 28 } 34 29 //XML add province 35 30 //Adds a Province to the Gameboard 36 31 void WagnisGameboard::addProvince(WagnisProvince* province){ 32 orxout() << "added" << endl; 33 orxout() << province->getID() << endl; 37 34 this->provs.push_back(province); 38 35 }
Note: See TracChangeset
for help on using the changeset viewer.