StarEngine
|
#include <FreeCamera.h>
Public Member Functions | |
FreeCamera (void) | |
virtual | ~FreeCamera (void) |
void | SetStatic (bool isStatic) |
Public Member Functions inherited from star::BaseCamera | |
BaseCamera (void) | |
virtual | ~BaseCamera (void) |
void | Translate (const pos &position) |
pos | GetUnscaledPos () |
Public Member Functions inherited from star::Object | |
Object () | |
virtual | ~Object (void) |
Object * | GetParent () const |
void | BaseInitialize () |
void | BaseUpdate (const Context &context) |
void | BaseDraw () |
const tstring & | GetName () const |
void | SetName (const tstring &name) |
void | AddComponent (BaseComponent *pComponent) |
void | RemoveComponent (const BaseComponent *pComponent) |
void | AddChild (Object *pObject) |
void | RemoveChild (const Object *pObject) |
std::vector< Object * > & | GetChildren () |
void | SetCollisionTag (const tstring &tag) |
const tstring & | GetCollisionTag () const |
void | SetVisible (bool visible) |
bool | IsVisible () const |
void | Freeze (bool freeze) |
bool | IsFrozen () const |
void | SetDisabled (bool disabled) |
bool | IsDisabled () const |
void | CollisionCheck (Object *otherObject) |
bool | RectangleCollision (Object *object, Object *otherObject) |
bool | CircleCollision (Object *object, Object *otherObject) |
bool | RectangleCircleCollision (Object *object, Object *otherObject) |
void | SetScene (BaseScene *pScene) |
void | UnsetScene () |
TransformComponent * | GetTransform () const |
BaseScene * | GetScene () const |
template<class T > | |
T * | GetComponent (bool searchChildren=false) const |
template<class T > | |
T * | GetChild () const |
template<class T > | |
T * | GetChild (const tstring &name) const |
Protected Member Functions | |
virtual void | Update (const Context &context) |
Protected Member Functions inherited from star::BaseCamera | |
virtual void | Initialize () |
Protected Member Functions inherited from star::Object | |
virtual void | Draw () |
Additional Inherited Members | |
Protected Attributes inherited from star::BaseCamera | |
CameraComponent * | m_pCamera |
Protected Attributes inherited from star::Object | |
bool | m_bIsInitialized |
bool | m_IsVisible |
bool | m_IsFrozen |
Object * | m_pParentGameObject |
PathFindNodeComponent * | m_pPathFindComp |
BaseScene * | m_pScene |
std::vector< BaseComponent * > | m_pComponents |
std::vector< Object * > | m_pChildren |
tstring | m_Name |
tstring | m_CollisionTag |
star::FreeCamera::FreeCamera | ( | void | ) |
|
virtual |
void star::FreeCamera::SetStatic | ( | bool | isStatic | ) |
|
protectedvirtual |
Reimplemented from star::Object.