61 Ball(
float default_speed = 0.0f)
Game ball definition.
Definition: Ball.h:51
void Release()
Mark this ball as not held.
Definition: Ball.h:76
bool mHeld
Flag that save the condition of the ball as "held".
Definition: Ball.h:57
Ball(float default_speed=0.0f)
Constructor.
Definition: Ball.h:61
float mDefaultSpeed
Default speed, used by the ship to launch the ball.
Definition: Ball.h:55
void SetDefaultSpeed(float default_speed)
Set a default speed.
Definition: Ball.h:70
void Hold()
Mark this ball as held.
Definition: Ball.h:73
bool Held()
Check if this ball was marked as held.
Definition: Ball.h:79
Dynamic object with velocity control.
Definition: DynObj.h:52
float DefaultSpeed()
Get the default speed.
Definition: Ball.h:67