29 #ifndef _JumpProjectile_H__ 30 #define _JumpProjectile_H__ 45 virtual void tick(
float dt)
override;
48 { this->fieldWidth_ = width; this->fieldHeight_ = height; }
51 { this->setFieldDimension(dimension.x, dimension.y); }
54 {
return Vector2(this->fieldWidth_, this->fieldHeight_); }
#define _JumpExport
Definition: JumpPrereqs.h:60
float fieldWidth_
Definition: JumpProjectile.h:59
Definition: MovableEntity.h:42
WeakPtr wraps a pointer to an object, which becomes nullptr if the object is deleted.
Definition: CorePrereqs.h:236
Shared library macros, enums, constants and forward declarations for the jump module ...
void setFieldDimension(float width, float height)
Definition: JumpProjectile.h:47
Declaration and implementation of several math-functions, typedefs of some Ogre::Math classes to the ...
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
float fieldHeight_
Definition: JumpProjectile.h:60
Vector2 getFieldDimension() const
Definition: JumpProjectile.h:53
Definition: JumpProjectile.h:39
WeakPtr< JumpFigure > figure_
Definition: JumpProjectile.h:61
void setFieldDimension(const Vector2 &dimension)
Definition: JumpProjectile.h:50