SelectableObject Class Reference

#include <SelectableObject.h>

Inheritance diagram for SelectableObject:
GameObject Craft TrackControlObject

List of all members.

Public Member Functions

 SelectableObject ()
 ~SelectableObject ()
virtual void setSelected (const bool _val)
 Toggle whether we're selected or not.
virtual void tryResetPosition ()
void setAny ()
 We have to have a unique setAny for gameObject and selectableObject, so we can distinguish between the two!

Protected Attributes

bool m_selected

Static Protected Attributes

static int s_nextID = 0

Detailed Description

Selectable object - basically, if something inherits from this it can be clicked on, thinks the input manager.

Definition at line 16 of file SelectableObject.h.


Constructor & Destructor Documentation

SelectableObject::SelectableObject (  ) 

Definition at line 6 of file SelectableObject.cpp.

SelectableObject::~SelectableObject (  )  [inline]

Definition at line 20 of file SelectableObject.h.


Member Function Documentation

void SelectableObject::setAny (  )  [virtual]

We have to have a unique setAny for gameObject and selectableObject, so we can distinguish between the two!

Reimplemented from GameObject.

Definition at line 16 of file SelectableObject.cpp.

void SelectableObject::setSelected ( const bool  _val  )  [virtual]

Toggle whether we're selected or not.

Definition at line 11 of file SelectableObject.cpp.

void SelectableObject::tryResetPosition (  )  [virtual]

Reimplemented in Craft.

Definition at line 23 of file SelectableObject.cpp.


Member Data Documentation

bool SelectableObject::m_selected [protected]

Definition at line 32 of file SelectableObject.h.

int SelectableObject::s_nextID = 0 [static, protected]

Reimplemented from GameObject.

Reimplemented in TrackControlObject.

Definition at line 34 of file SelectableObject.h.


The documentation for this class was generated from the following files:
Generated on Fri Aug 20 08:28:49 2010 for VecTRacer by  doxygen 1.6.3