#include <moves.h>
Public Methods | |
| MoveList () | |
| ~MoveList () | |
| void | Append (Move *a) |
| Move * | GetCurrent (void) |
| Move * | GetLast (void) |
| bool | Reset (void) |
| bool | Next (void) |
| int | Length (void) |
| void | Nuke (void) |
Private Methods | |
| void | Insert (Move *a) |
Private Attributes | |
| Move * | First |
| Move * | Last |
| Move * | Current |
| int | Len |
|
|
Definition at line 77 of file moves.h. References Len.
|
|
|
Definition at line 78 of file moves.h. References Nuke().
00078 { Nuke (); }
|
|
|
Definition at line 22 of file moves.c. References Insert(), Last, Len, and Move::Next. Referenced by Spy::TakeTurn().
|
|
|
Definition at line 80 of file moves.h. Referenced by UserInterface::ComputePossTokens(), MapWindow::DisableNodes(), MapWindow::EnableNodes(), and UserInterface::ShowSpyMoves().
00080 { return Current; }
|
|
|
Definition at line 81 of file moves.h.
00081 { return Last; }
|
|
|
Definition at line 11 of file moves.c. References Current, First, Last, Len, and Move::Next. Referenced by Append().
|
|
|
Definition at line 84 of file moves.h. References Len. Referenced by Human::ChooseMove(), and Rules::DetectivesTrapped().
00084 { return Len; }
|
|
|
Definition at line 42 of file moves.c. References Current, and Move::Next. Referenced by UserInterface::ComputePossTokens(), MapWindow::DisableNodes(), MapWindow::EnableNodes(), and UserInterface::ShowSpyMoves().
|
|
|
Definition at line 49 of file moves.c. References Current, First, Last, and Len. Referenced by ~MoveList().
|
|
|
Definition at line 35 of file moves.c. References Current, and First. Referenced by UserInterface::ComputePossTokens(), MapWindow::DisableNodes(), MapWindow::EnableNodes(), and UserInterface::ShowSpyMoves().
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 74 of file moves.h. Referenced by Append(), Insert(), Length(), MoveList(), and Nuke(). |
1.2.15