![]() |
Corgi Engine v9.3
|
A improved list that lets you parse it and automatically have it loop to the start or end when you reach the end or start To use it : set the CurrentIndex to whatever you want, then use IncrementCurrentIndex / DecrementCurrentIndex to move it, get the current element via Current More...
Public Member Functions | |
virtual void | IncrementCurrentIndex () |
Increments the current index (towards the "right" of the list) More... | |
virtual void | DecrementCurrentIndex () |
Decrements the current index (towards the "left" of the list) More... | |
Protected Member Functions | |
virtual int | GetCurrentIndex () |
Computes the current index More... | |
Properties | |
int | CurrentIndex [getset] |
Lets you set the current index, or compute it if you get it More... | |
virtual T | Current [get] |
Returns the current element More... | |
virtual int | PreviousIndex [get] |
Returns the previous index in the circular list More... | |
virtual int | NextIndex [get] |
Returns the next index in the circular list More... | |
A improved list that lets you parse it and automatically have it loop to the start or end when you reach the end or start To use it : set the CurrentIndex to whatever you want, then use IncrementCurrentIndex / DecrementCurrentIndex to move it, get the current element via Current
T |
|
virtual |
Decrements the current index (towards the "left" of the list)
|
protectedvirtual |
Computes the current index
|
virtual |
Increments the current index (towards the "right" of the list)
|
get |
Returns the current element
|
getset |
Lets you set the current index, or compute it if you get it
|
get |
Returns the next index in the circular list
|
get |
Returns the previous index in the circular list