Provides a stack with transparent access to all items in the stack, indexed by depth. More...
Public Member Functions | |
int | IndexOf (T item) |
void | Push (T item) |
T | Pop () |
IList< T > | Pop (int count) |
IList< T > | PopTo (T item) |
Pops and returns all items up to and including the specfied item. | |
IList< T > | PopUntil (T item) |
Pops and returns all items up to, but not including, the specfied item. | |
T | Peek () |
T | Peek (int depth) |
void | Crop (T item) |
Crops the item deepest in the stack that is equal to the specified gameItem. | |
void | CropAt (int index) |
void | CropAll (Predicate< T > condition) |
void | Clear () |
bool | Contains (T item) |
Properties | |
T | this [int index] [get] |
int | Count [get] |
Provides a stack with transparent access to all items in the stack, indexed by depth.
T | The type of item the stack will store. |
void Romulus.TransparentStack-g< T >.Crop | ( | T | item | ) |
Crops the item deepest in the stack that is equal to the specified gameItem.
IList<T> Romulus.TransparentStack-g< T >.PopTo | ( | T | item | ) |
Pops and returns all items up to and including the specfied item.
IList<T> Romulus.TransparentStack-g< T >.PopUntil | ( | T | item | ) |
Pops and returns all items up to, but not including, the specfied item.