Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SpaceCenterCrew Class Reference
Inheritance diagram for SpaceCenterCrew:
GroundCrew Mechanic MechanicDriller MechanicHammer MechanicLugWrench MechanicScrew MechanicWrench MechanicWrenchEnglish Scientist

Public Types

enum  crewStates { crewStates.Idle, crewStates.Walking, crewStates.Running, crewStates.Standing }
 
enum  CrewType { CrewType.GroundCrew, CrewType.Mechanic, CrewType.Scientist }
 

Public Attributes

int currentwaypoint
 
float speed
 
Transform[] waypoints
 

Protected Member Functions

void CrewMovement ()
 
virtual void SetAnimation ()
 

Protected Attributes

Animation _animation
 
Rigidbody _rigidbody
 
string[] crewAnimations
 
CrewType cType
 
Vector3 moveDirection
 
crewStates state
 
bool stateChanged
 
Vector3 target
 
Vector3 velocity
 

Member Enumeration Documentation

Enumerator
Idle 
Walking 
Running 
Standing 
Enumerator
GroundCrew 
Mechanic 
Scientist 

Member Function Documentation

void SpaceCenterCrew.CrewMovement ( )
inlineprotected
virtual void SpaceCenterCrew.SetAnimation ( )
inlineprotectedvirtual

Member Data Documentation

Animation SpaceCenterCrew._animation
protected
Rigidbody SpaceCenterCrew._rigidbody
protected
string [] SpaceCenterCrew.crewAnimations
protected
CrewType SpaceCenterCrew.cType
protected
int SpaceCenterCrew.currentwaypoint
Vector3 SpaceCenterCrew.moveDirection
protected
float SpaceCenterCrew.speed
crewStates SpaceCenterCrew.state
protected
bool SpaceCenterCrew.stateChanged
protected
Vector3 SpaceCenterCrew.target
protected
Vector3 SpaceCenterCrew.velocity
protected
Transform [] SpaceCenterCrew.waypoints

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