Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Protected Member Functions | List of all members
smlt::behaviours::HoverShip Class Reference
Inheritance diagram for smlt::behaviours::HoverShip:
smlt::BehaviourWithInput smlt::RefCounted< HoverShip > smlt::Behaviour smlt::TwoPhaseConstructed smlt::Updateable

Public Member Functions

 HoverShip (Window *window)
const char * name () const
void set_hover_height (float h)
void set_hover_force (float f)
void set_speed (float s)
float speed () const
void set_turn_speed (float s)
float turn_speed () const
void update (float dt)
void fixed_update (float step)
- Public Member Functions inherited from smlt::BehaviourWithInput
 BehaviourWithInput (InputManager *input)
- Public Member Functions inherited from smlt::Behaviour
void enable ()
void disable ()
void _update_thunk (float dt) override
void _late_update_thunk (float dt) override
void _fixed_update_thunk (float step) override
bool attached () const
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
virtual void clean_up ()

Protected Member Functions

float power_input () const
void set_power_input (float pi)
float turn_input () const
void set_turn_input (float ti)
- Protected Member Functions inherited from smlt::RefCounted< HoverShip >
 RefCounted (Args &&...)

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< HoverShip >
typedef std::shared_ptr< HoverShip > ptr
typedef std::weak_ptr< HoverShip > wptr
- Static Public Member Functions inherited from smlt::RefCounted< HoverShip >
static RefCounted< HoverShip >::ptr create (Args &&... args)
static RefCounted< HoverShip >::ptr create ()
- Public Attributes inherited from smlt::Behaviour
Property< Organism *Behaviour::* > organism
- Protected Attributes inherited from smlt::BehaviourWithInput
Property< InputManager *BehaviourWithInput::* > input

The documentation for this class was generated from the following files: