![]() |
AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
Implements a collection of actor actions. More...
#include <CzActionsActor.h>
Public Types | |
enum | eActionType { Action_HideActor = 0, Action_ShowActor = 1, Action_ActivateActor = 2, Action_DeactivateActor = 3, Action_KillActor = 4, Action_SetKeyFocus = 5, Action_UpdateText = 6, Action_Max = 7 } |
Public Member Functions | |
CzXomlActions_Actor (eActionType type) | |
void | Execute (IzXomlResource *source, CzAction *action) |
The main actions executor for actors. All actor specific actions are implemented by this method. | |
Protected Member Functions | |
CzXomlActions_Actor () | |
Protected Attributes | |
eActionType | Type |
Implements a collection of actor actions.
The CzXomlActions_Actor class holds Actions (IzXomlAction) that can be carried out on Actors (CzActor). An action is basically a command that tells the actor to do something such as modify its appearance or behaviour. For example the KillActor tells the actor to remove itself from the scene and destroy itself.
The following actions are supported:
The above actions have the following XOML prototypes:
For more information on the actions system see CzAction
CzXomlActions_Actor::CzXomlActions_Actor | ( | ) | [inline, protected] |
CzXomlActions_Actor::CzXomlActions_Actor | ( | eActionType | type | ) | [inline] |
void CzXomlActions_Actor::Execute | ( | IzXomlResource * | source, |
CzAction * | action | ||
) | [virtual] |
The main actions executor for actors. All actor specific actions are implemented by this method.
[in] | source | - The source of the action |
[in] | action | - The action to execute |
Implements IzXomlAction.
eActionType CzXomlActions_Actor::Type [protected] |