TRoshambo Class Reference
List of all members.
Public Types |
enum | TResult { EWin,
EDraw,
ELose,
ENoContest
} |
enum | TElement {
EInvalid = -2,
ENone = -1,
ERock = 0,
EPaper = 1,
EScissors = 2
} |
Public Member Functions |
TElement | LocalPlayer () const |
TElement | Opponent () const |
void | SetLocalPlayer (TElement aLocalPlayer) |
void | SetOpponent (TElement aOpponent) |
void | ResetPlayers () |
void | SinglePlayerGame (TElement aLocalPlayer) |
TRoshambo::TResult | CalculateResult () const |
Detailed Description
Definition at line 34 of file roshambo.h.