Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ShipCtrl Class Reference

#include <ShipCtrl.h>

Inheritance diagram for ShipCtrl:
Director

List of all members.

Public Types

enum  TYPE { DIR_TYPE = 1 }

Public Member Functions

 ShipCtrl (Ship *s, MotionController *m)
virtual void ExecFrame (double seconds)
virtual int Subframe () const
virtual void Launch ()
virtual int Type () const
- Public Member Functions inherited from Director
 Director ()
virtual ~Director ()

Static Public Member Functions

static int KeyDown (int action)
static int Toggled (int action)

Protected Attributes

Shipship
MotionControllercontroller
bool throttle_active
bool launch_latch
bool pickle_latch
bool target_latch

Detailed Description

Definition at line 32 of file ShipCtrl.h.


Member Enumeration Documentation

Enumerator:
DIR_TYPE 

Definition at line 35 of file ShipCtrl.h.


Constructor & Destructor Documentation

ShipCtrl::ShipCtrl ( Ship s,
MotionController m 
)

Definition at line 41 of file ShipCtrl.cpp.


Member Function Documentation

void ShipCtrl::ExecFrame ( double  seconds)
virtual

Reimplemented from Director.

Definition at line 90 of file ShipCtrl.cpp.

int ShipCtrl::KeyDown ( int  action)
static

Definition at line 52 of file ShipCtrl.cpp.

void ShipCtrl::Launch ( )
virtual

Definition at line 78 of file ShipCtrl.cpp.

virtual int ShipCtrl::Subframe ( ) const
inlinevirtual

Reimplemented from Director.

Definition at line 40 of file ShipCtrl.h.

int ShipCtrl::Toggled ( int  action)
static

Definition at line 61 of file ShipCtrl.cpp.

virtual int ShipCtrl::Type ( ) const
inlinevirtual

Reimplemented from Director.

Definition at line 46 of file ShipCtrl.h.


Member Data Documentation

MotionController* ShipCtrl::controller
protected

Definition at line 50 of file ShipCtrl.h.

bool ShipCtrl::launch_latch
protected

Definition at line 53 of file ShipCtrl.h.

bool ShipCtrl::pickle_latch
protected

Definition at line 54 of file ShipCtrl.h.

Ship* ShipCtrl::ship
protected

Definition at line 49 of file ShipCtrl.h.

bool ShipCtrl::target_latch
protected

Definition at line 55 of file ShipCtrl.h.

bool ShipCtrl::throttle_active
protected

Definition at line 52 of file ShipCtrl.h.


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