Changeset 9797 for code/trunk/src/orxonox/controllers/Controller.cc
- Timestamp:
- Nov 21, 2013, 3:57:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/Controller.cc
r9667 r9797 29 29 #include "Controller.h" 30 30 #include "core/CoreIncludes.h" 31 #include "core/XMLPort.h" 31 32 #include "worldentities/ControllableEntity.h" 32 33 … … 42 43 this->controllableEntity_ = 0; 43 44 this->bGodMode_ = false; 45 this->team_=-1; 44 46 } 45 47 … … 47 49 { 48 50 } 51 void Controller::XMLPort(Element& xmlelement, XMLPort::Mode mode) 52 { 53 SUPER(Controller, XMLPort, xmlelement, mode); 54 XMLPortParam(Controller, "team", setTeam, getTeam, xmlelement, mode).defaultValues(-1); 55 } 56 49 57 }
Note: See TracChangeset
for help on using the changeset viewer.