40 #ifndef _SpicedAsteroidField_H__ 41 #define _SpicedAsteroidField_H__ 60 virtual void tick(
float dt)
override;
68 inline void setPosition(
const Vector3& v){this->position = v;}
80 inline void setFog(
bool f){this->foggy = f;}
81 inline bool isFoggy(){
return this->foggy;}
102 virtual void create();
The BaseObject is the parent of all classes representing an instance in the game. ...
Definition: BaseObject.h:63
int getCount()
Definition: SpicedAsteroidField.h:63
void setFogDensity(float fd)
Definition: SpicedAsteroidField.h:83
void setFog(bool f)
Definition: SpicedAsteroidField.h:80
void setMaxSize(float i)
Definition: SpicedAsteroidField.h:71
Shared library macros, enums, constants and forward declarations for the AsteroidMining module ...
float mDensity
Mineral density, between 0 and 1;.
Definition: SpicedAsteroidField.h:89
Declaration of the Tickable interface.
float getRadius()
Definition: SpicedAsteroidField.h:78
const Vector3 & getPosition()
Definition: SpicedAsteroidField.h:69
void setRadius(float r)
Definition: SpicedAsteroidField.h:77
bool isFoggy()
Definition: SpicedAsteroidField.h:81
void setPosition(const Vector3 &v)
Definition: SpicedAsteroidField.h:68
void setMineralDensity(float d)
Definition: SpicedAsteroidField.h:65
float getFogDensity()
Definition: SpicedAsteroidField.h:84
Definition: SpicedAsteroidField.h:52
float maxSize
Upper bound to asteroid size.
Definition: SpicedAsteroidField.h:93
xmlelement
Definition: Super.h:519
void setMinSize(float i)
Definition: SpicedAsteroidField.h:74
float getMinSize()
Definition: SpicedAsteroidField.h:75
float fogDensity
Definition: SpicedAsteroidField.h:98
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
bool foggy
Whether there's fog.
Definition: SpicedAsteroidField.h:97
float getMaxSize()
Definition: SpicedAsteroidField.h:72
Mode
Definition: CorePrereqs.h:102
float radius
Asteroids can appear within a sphere.
Definition: SpicedAsteroidField.h:96
int count
Number of asteroids generated.
Definition: SpicedAsteroidField.h:88
Declaration of BaseObject, the base class of all objects in Orxonox.
#define _AsteroidMiningExport
Definition: AsteroidMiningPrereqs.h:60
float getMineralDensity()
Definition: SpicedAsteroidField.h:66
Vector3 position
The center.
Definition: SpicedAsteroidField.h:91
The Tickable interface provides a tick(dt) function, that gets called every frame.
Definition: Tickable.h:52
void setCount(int s)
Definition: SpicedAsteroidField.h:62
float minSize
Lower bound to asteroid size.
Definition: SpicedAsteroidField.h:94