All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
star::BaseCamera Class Reference

#include <BaseCamera.h>

Inheritance diagram for star::BaseCamera:
Inheritance graph
Collaboration diagram for star::BaseCamera:
Collaboration graph

Public Member Functions

 BaseCamera (void)
virtual ~BaseCamera (void)
void Translate (const pos &position)
pos GetUnscaledPos ()
- Public Member Functions inherited from star::Object
 Object ()
virtual ~Object (void)
ObjectGetParent () const
void BaseInitialize ()
void BaseUpdate (const Context &context)
void BaseDraw ()
const tstringGetName () 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 tstringGetCollisionTag () 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 ()
TransformComponentGetTransform () const
BaseSceneGetScene () 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 Initialize ()
- Protected Member Functions inherited from star::Object
virtual void Update (const Context &context)
virtual void Draw ()

Protected Attributes

- Protected Attributes inherited from star::Object
bool m_bIsInitialized
bool m_IsVisible
bool m_IsFrozen
std::vector< BaseComponent * > m_pComponents
std::vector< Object * > m_pChildren
tstring m_Name
tstring m_CollisionTag

Constructor & Destructor Documentation

star::BaseCamera::BaseCamera ( void  )
star::BaseCamera::~BaseCamera ( void  )

Member Function Documentation

pos star::BaseCamera::GetUnscaledPos ( )
void star::BaseCamera::Initialize ( void  )

Reimplemented from star::Object.

void star::BaseCamera::Translate ( const pos position)

Member Data Documentation

CameraComponent* star::BaseCamera::m_pCamera

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