46 #ifndef _SpicedAsteroidBelt_H__ 47 #define _SpicedAsteroidBelt_H__ 66 virtual void tick(
float dt)
override;
68 inline void setCount(
float s){this->count = s;}
74 inline void setPosition(
const Vector3& v){this->position = v;}
92 inline void setFog(
bool f){this->foggy = f;}
93 inline bool isFoggy(){
return this->foggy;}
126 virtual void create();
The BaseObject is the parent of all classes representing an instance in the game. ...
Definition: BaseObject.h:63
float getRadius1()
Definition: SpicedAsteroidBelt.h:90
Vector3 position
Definition: SpicedAsteroidBelt.h:109
float getFogDensity()
Definition: SpicedAsteroidBelt.h:96
float getMinSize()
Definition: SpicedAsteroidBelt.h:84
float mDensity
Approximate commonness of asteroids that yield stuff, value between 0 and 1;.
Definition: SpicedAsteroidBelt.h:107
float getRadius0()
Definition: SpicedAsteroidBelt.h:87
Shared library macros, enums, constants and forward declarations for the AsteroidMining module ...
float getMineralDensity()
Definition: SpicedAsteroidBelt.h:72
Declaration of the Tickable interface.
float tiltBy
angle at z-axis
Definition: SpicedAsteroidBelt.h:123
void setMinSize(float i)
Definition: SpicedAsteroidBelt.h:83
float tiltAt
Orientation: Angle where it gets elevated/lowered the most.
Definition: SpicedAsteroidBelt.h:122
void setFogDensity(float fd)
Definition: SpicedAsteroidBelt.h:95
float getMaxSize()
Definition: SpicedAsteroidBelt.h:81
void setRadius0(float r0)
Definition: SpicedAsteroidBelt.h:86
float maxSize
Most obese asteroid possible.
Definition: SpicedAsteroidBelt.h:113
void setRadius1(float r1)
Definition: SpicedAsteroidBelt.h:89
void setMineralDensity(float d)
Definition: SpicedAsteroidBelt.h:71
bool foggy
Whether there's fog arount the asteroids.
Definition: SpicedAsteroidBelt.h:119
float fogDensity
Definition: SpicedAsteroidBelt.h:120
float getTiltBy()
Definition: SpicedAsteroidBelt.h:101
Definition: SpicedAsteroidBelt.h:58
xmlelement
Definition: Super.h:519
void setSegments(int s)
Definition: SpicedAsteroidBelt.h:77
const Vector3 & getPosition()
Definition: SpicedAsteroidBelt.h:75
float radius1
Outer radius.
Definition: SpicedAsteroidBelt.h:117
bool isFoggy()
Definition: SpicedAsteroidBelt.h:93
void setPosition(const Vector3 &v)
Definition: SpicedAsteroidBelt.h:74
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
float count
Approximate number of asteroids.
Definition: SpicedAsteroidBelt.h:106
float minSize
Most meagre asteroid possible.
Definition: SpicedAsteroidBelt.h:114
Mode
Definition: CorePrereqs.h:102
Declaration of BaseObject, the base class of all objects in Orxonox.
float radius0
Inner radius.
Definition: SpicedAsteroidBelt.h:116
void setCount(float s)
Definition: SpicedAsteroidBelt.h:68
#define _AsteroidMiningExport
Definition: AsteroidMiningPrereqs.h:60
void setFog(bool f)
Definition: SpicedAsteroidBelt.h:92
void setTiltAt(float ta)
Definition: SpicedAsteroidBelt.h:98
int segments
Number of asteroidFields that get generated.
Definition: SpicedAsteroidBelt.h:111
float getTiltAt()
Definition: SpicedAsteroidBelt.h:100
float getCount()
Definition: SpicedAsteroidBelt.h:69
The Tickable interface provides a tick(dt) function, that gets called every frame.
Definition: Tickable.h:52
int getSegments()
Definition: SpicedAsteroidBelt.h:78
void setMaxSize(float i)
Definition: SpicedAsteroidBelt.h:80
void setTiltBy(float tb)
Definition: SpicedAsteroidBelt.h:99