![]() |
AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
Implements actions that are shared between actors and scenes. More...
#include <CzActionsShared.h>
Public Types | |
enum | eActionType { Action_SetProperty = 0, Action_AddProperty = 1, Action_SetUserProp = 2, Action_AddUserProp = 3, Action_UserPropToVar = 4, Action_AddModifier = 5, Action_ChangeModifier = 6, Action_Max = 7 } |
Public Member Functions | |
CzXomlActions_Shared (eActionType type) | |
void | Execute (IzXomlResource *source, CzAction *action) |
The main actions executor for scene / actor shared actions. All shared actions such as SetProperty are implemented by this method. | |
Protected Member Functions | |
CzXomlActions_Shared () | |
Protected Attributes | |
eActionType | Type |
Implements actions that are shared between actors and scenes.
The CzXomlActions_Shared class holds Actions (IzXomlAction) that deal with common functionality that is shared between scenes and actors
The following actions are supported:
The above actions have the following XOML prototypes:
For more information on actors and scenes see CzActor and CzScene. For more information on Modifiers see IzModifier and CzModifierManager
CzXomlActions_Shared::CzXomlActions_Shared | ( | ) | [inline, protected] |
CzXomlActions_Shared::CzXomlActions_Shared | ( | eActionType | type | ) | [inline] |
void CzXomlActions_Shared::Execute | ( | IzXomlResource * | source, |
CzAction * | action | ||
) | [virtual] |
The main actions executor for scene / actor shared actions. All shared actions such as SetProperty are implemented by this method.
[in] | source | - The source of the action |
[in] | action | - The action to execute |
Implements IzXomlAction.
eActionType CzXomlActions_Shared::Type [protected] |