|
RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
#include <customundoableactions.h>
Public Member Functions | |
| AddOrRemoveGameObjectAction (EditorWindow *editor_window, CGameScene *scene, CGameObject *game_obj, bool add_mode, std::string hint=std::string()) | |
| virtual void | performAction () |
| virtual IUndoableAction * | getOppositeAction () |
| virtual const char * | getHint () const |
| virtual void | setHint (const std::string &hint) |
| virtual void * | getTarget () const |
| void | releaseGameObject () |
Public Member Functions inherited from UndoableAction< CGameScene *, CGameObject * > | |
| UndoableAction (CGameScene *target, CGameObject *&value) | |
| void | setTarget (CGameScene *target) |
| CGameScene * | getTarget () const |
| void | setValue (CGameObject *&value) |
| CGameObject * | getValue () const |
| virtual | ~UndoableAction () |
Public Member Functions inherited from CObject | |
| CObject () | |
| CObject (const CObject &object) | |
| CObject & | operator= (const CObject &object) |
| CObject * | retain () |
| unsigned int | release () const |
| CObject * | autorelease () |
| unsigned int | retainCount () const |
| bool | isValidCObject () const |
| virtual | ~CObject () |
Additional Inherited Members | |
Static Public Member Functions inherited from CObject | |
| static void | safeRetain (void *pointer) |
| template<class T > | |
| static void | safeRelease (T *pointer) |
| template<class T > | |
| static void | safeReleaseArray (T *array) |
| static void | safeRelease (const char *pointer) |
Protected Member Functions inherited from CObject | |
| virtual void | copyValuesFromObject (const CObject &object) |
Protected Attributes inherited from UndoableAction< CGameScene *, CGameObject * > | |
| CGameScene * | m_target |
| CGameObject * | m_value |
AddOrRemoveGameObjectAction is created when the user creates or deletes a game object in the editor.
Definition at line 105 of file customundoableactions.h.
|
inline |
Definition at line 107 of file customundoableactions.h.
|
inlinevirtual |
Reimplemented from IUndoableAction.
Reimplemented in DuplicateGameObject.
Definition at line 130 of file customundoableactions.h.
|
inlinevirtual |
Reimplemented from IUndoableAction.
Definition at line 126 of file customundoableactions.h.
|
inlinevirtual |
Definition at line 138 of file customundoableactions.h.
|
inlinevirtual |
Reimplemented from IUndoableAction.
Definition at line 115 of file customundoableactions.h.
|
inline |
Call this method until IUndoableAction goes out of scope
Definition at line 145 of file customundoableactions.h.
|
inlinevirtual |
Definition at line 134 of file customundoableactions.h.