Pyrogenesis trunk
Public Member Functions | Public Attributes | List of all members
CCmpUnitMotionManager::MotionState Struct Reference

#include <CCmpUnitMotionManager.h>

Collaboration diagram for CCmpUnitMotionManager::MotionState:
Collaboration graph
[legend]

Public Member Functions

 MotionState (ICmpPosition *cmpPos, CCmpUnitMotion *cmpMotion)
 

Public Attributes

ICmpPositioncmpPosition
 
CCmpUnitMotioncmpUnitMotion
 
CFixedVector2D initialPos
 
CFixedVector2D pos
 
CFixedVector2D push
 
fixed speed
 
fixed initialAngle
 
fixed angle
 
entity_id_t controlGroup = INVALID_ENTITY
 
uint8_t pushingPressure = 0
 
bool ignore = false
 
bool needUpdate = false
 
bool wentStraight = false
 
bool wasObstructed = false
 
bool isMoving = false
 

Constructor & Destructor Documentation

◆ MotionState()

CCmpUnitMotionManager::MotionState::MotionState ( ICmpPosition cmpPos,
CCmpUnitMotion cmpMotion 
)

Member Data Documentation

◆ angle

fixed CCmpUnitMotionManager::MotionState::angle

◆ cmpPosition

ICmpPosition* CCmpUnitMotionManager::MotionState::cmpPosition

◆ cmpUnitMotion

CCmpUnitMotion* CCmpUnitMotionManager::MotionState::cmpUnitMotion

◆ controlGroup

entity_id_t CCmpUnitMotionManager::MotionState::controlGroup = INVALID_ENTITY

◆ ignore

bool CCmpUnitMotionManager::MotionState::ignore = false

◆ initialAngle

fixed CCmpUnitMotionManager::MotionState::initialAngle

◆ initialPos

CFixedVector2D CCmpUnitMotionManager::MotionState::initialPos

◆ isMoving

bool CCmpUnitMotionManager::MotionState::isMoving = false

◆ needUpdate

bool CCmpUnitMotionManager::MotionState::needUpdate = false

◆ pos

CFixedVector2D CCmpUnitMotionManager::MotionState::pos

◆ push

CFixedVector2D CCmpUnitMotionManager::MotionState::push

◆ pushingPressure

uint8_t CCmpUnitMotionManager::MotionState::pushingPressure = 0

◆ speed

fixed CCmpUnitMotionManager::MotionState::speed

◆ wasObstructed

bool CCmpUnitMotionManager::MotionState::wasObstructed = false

◆ wentStraight

bool CCmpUnitMotionManager::MotionState::wentStraight = false

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