![]() |
Superfighters Deluxe
|
PlayerAction More...
Public Member Functions | |
PlayerCommand (PlayerCommandType action) | |
Constructs a new PlayerCommand. More... | |
PlayerCommand (PlayerCommandType action, int targetObjectID, int delayTime=0) | |
Constructs a new PlayerCommand. More... | |
PlayerCommand (PlayerCommandType action, int targetObjectID, PlayerCommandFaceDirection faceDirection, int delayTime=0) | |
Constructs a new PlayerCommand. More... | |
PlayerCommand (PlayerCommandType action, PlayerCommandFaceDirection faceDirection, int delayTime=0) | |
Constructs a new PlayerCommand. More... | |
PlayerCommand (PlayerCommandType action, Vector2 worldPosition, int delayTime=0) | |
Constructs a new PlayerCommand. More... | |
PlayerCommand (PlayerCommandType action, Vector2 worldPosition, PlayerCommandFaceDirection faceDirection, int delayTime=0) | |
Constructs a new PlayerCommand. More... | |
bool | Equals (PlayerCommand other) |
Checks if this command equals another command based on data. More... | |
Public Attributes | |
PlayerCommandType | Command |
Player action to perform. More... | |
int | DelayTime |
Delay time after command is performed before next command begins. More... | |
PlayerCommandFaceDirection | FaceDirection |
Face direction if applicable for the action. More... | |
int | TargetObjectID |
Target objectID if applicable for the action. More... | |
Vector2 | WorldPosition |
World position if applicable for the action. Vector2.Zero means no world position assigned. More... | |
PlayerAction
PlayerCommand | ( | PlayerCommandType | action | ) |
Constructs a new PlayerCommand.
action | Player action to perform. |
PlayerCommand | ( | PlayerCommandType | action, |
PlayerCommandFaceDirection | faceDirection, | ||
int | delayTime = 0 |
||
) |
Constructs a new PlayerCommand.
action | Player action to perform. |
faceDirection | Face direction if applicable for the action. |
delayTime | Delay time after command is performed before next command begins. |
PlayerCommand | ( | PlayerCommandType | action, |
Vector2 | worldPosition, | ||
int | delayTime = 0 |
||
) |
Constructs a new PlayerCommand.
action | Player action to perform. |
worldPosition | World position if applicable for the action. |
delayTime | Delay time after command is performed before next command begins. |
PlayerCommand | ( | PlayerCommandType | action, |
int | targetObjectID, | ||
int | delayTime = 0 |
||
) |
Constructs a new PlayerCommand.
action | Player action to perform. |
targetObjectID | Target objectID if applicable for the action. |
delayTime | Delay time after command is performed before next command begins. |
PlayerCommand | ( | PlayerCommandType | action, |
Vector2 | worldPosition, | ||
PlayerCommandFaceDirection | faceDirection, | ||
int | delayTime = 0 |
||
) |
Constructs a new PlayerCommand.
action | Player action to perform. |
worldPosition | World position if applicable for the action. |
faceDirection | Face direction if applicable for the action. |
delayTime | Delay time after command is performed before next command begins. |
PlayerCommand | ( | PlayerCommandType | action, |
int | targetObjectID, | ||
PlayerCommandFaceDirection | faceDirection, | ||
int | delayTime = 0 |
||
) |
Constructs a new PlayerCommand.
action | Player action to perform. |
targetObjectID | Target objectID if applicable for the action. |
faceDirection | Face direction if applicable for the action. |
delayTime | Delay time after command is performed before next command begins. |
bool Equals | ( | PlayerCommand | other | ) |
Checks if this command equals another command based on data.
other | PlayerCommand |
PlayerCommandType Command |
Player action to perform.
int DelayTime |
Delay time after command is performed before next command begins.
PlayerCommandFaceDirection FaceDirection |
Face direction if applicable for the action.
int TargetObjectID |
Target objectID if applicable for the action.
Vector2 WorldPosition |
World position if applicable for the action. Vector2.Zero means no world position assigned.