List of all members.
Public Member Functions |
TAction | Peek () |
| Returns the action at the top of the stack.
|
TAction | Peek (int index) |
| Returns the action at the specified depth in the stack.
|
IEnumerator< TAction > | GetEnumerator () |
| Implements IEnumerator.
|
Properties |
int | Count [get] |
| Gets the number of actions in this stack.
|
TAction | this [int i] [get] |
| Gets an action from the specified depth in the stack.
|
Detailed Description
template<TQ, TAction>
class Romulus::ActionQueue-g< TQ, TAction >::ActionStack
Represents a list of available actions to do or undo.
Member Function Documentation
Implements IEnumerator.
- Returns:
- An enumerator.
Returns the action at the top of the stack.
- Returns:
- The action at the top of the stack.
Returns the action at the specified depth in the stack.
- Parameters:
-
| index | The depth in the stack from which to retrieve an action. |
- Returns:
- An action from the stack.
Property Documentation
Gets the number of actions in this stack.
Gets an action from the specified depth in the stack.
- Parameters:
-
| i | The depth in the stack from which to retrieve an action. |
- Returns:
- An action from the stack.
The documentation for this class was generated from the following file:
- D:/VS/Romulus/RomulusPublic/ActionQueue.cs