7 int GetCount() {
return 0; }
13 int GetCurrentIndex() {
return -1; }
21 protected int GetNextIndex(
bool allowOverflow =
true)
23 int count = GetCount();
27 int current = GetCurrentIndex();
28 int next = current + 1;
46 protected int GetPreviousIndex(
bool allowUnderflow =
true)
48 int count = GetCount();
52 int current = GetCurrentIndex();
53 int previous = current - 1;
69 protected void SetIndex(
int index);
77 bool SetNext(
bool allowOverflow =
true)
79 int next = GetNextIndex(allowOverflow);
95 bool SetPrevious(
bool allowUnderflow =
true)
97 int prev = GetPreviousIndex(allowUnderflow);
118 return GetCurrentFOV();