- Timestamp:
- Nov 27, 2017, 5:00:59 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Asteroid_HS17/src/modules/asteroids2D/Asteroids2DCenterPoint.cc
r11593 r11608 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h" 37 38 38 39 #include "Asteroids2D.h" … … 47 48 48 49 this->checkGametype(); 50 this->width_ = 200; 51 this->height_ = 120; 49 52 } 53 /** 54 @brief 55 Method to create a Asteroids2DCenterpoint through XML. 56 */ 57 void Asteroids2DCenterPoint::XMLPort(Element& xmlelement, XMLPort::Mode mode) 58 { 59 SUPER(Asteroids2DCenterPoint, XMLPort, xmlelement, mode); 50 60 61 XMLPortParam(Asteroids2DCenterPoint, "dimension", setFieldDimension, getFieldDimension, xmlelement, mode); 62 } 51 63 void Asteroids2DCenterPoint::checkGametype() 52 64 {
Note: See TracChangeset
for help on using the changeset viewer.