|
|
| CardStack (int32 baseStackSize) |
| |
|
void | Insert (const uint32 &position, Card *card) |
| | Inserts a card at the specified position in the stack.
|
| |
|
void | Remove (Card *card) |
| | Removes the specified card from the stack.
|
| |
|
int32 | FindIndex (Card *card) const |
| | Finds the index of a specific card in the stack.
|
| |
|
Card * | Top () const |
| | Returns the top card of the stack.
|
| |
|
Card * | Get (int32 index) const |
| | Returns the card at the given index.
|
| |
|
int32 | GetSize () const |
| | Returns the number of cards in the stack.
|
| |
|
int32 | GetBaseSize () const |
| | Returns the base size of the stack.
|
| |
| GameObject * | clone () override |
| |
| String | GetIdentifer () const override |
| |
|
void | Add (GameObject *object) override |
| | Adds a game object to the card stack.
|
| |
|
| ParentGameObject (const String &identifier) |
| |
| virtual void | Add (GameObject *object) |
| | Adds GameObject to parent.
|
| |
| std::vector< IBaseParameter * > | GetParameters () const |
| | Returns parameters list.
|
| |
| String | GetUniqueId () const |
| | Returns GameObject unique id.
|
| |
Represents a stack of cards in the game.