35 #ifndef _Asteroids2DCenterPoint_H__ 36 #define _Asteroids2DCenterPoint_H__ 54 { this->width_ = dimension.x; this->height_ = dimension.y; }
60 {
return Vector2(this->width_, this->height_); }
The StaticEntity is the simplest derivative of the orxonox::WorldEntity class.
Definition: StaticEntity.h:50
Vector2 getFieldDimension() const
Get the dimensions of the playing field.
Definition: Asteroids2DCenterPoint.h:59
Definition: Asteroids2DCenterPoint.h:44
xmlelement
Definition: Super.h:519
Shared library macros, enums, constants and forward declarations for the Asteroids2D module ...
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
#define _Asteroids2DExport
Definition: Asteroids2DPrereqs.h:60
void setFieldDimension(const Vector2 &dimension)
Set the dimensions of the playing field.
Definition: Asteroids2DCenterPoint.h:53
float width_
Definition: Asteroids2DCenterPoint.h:64