示例#1
0
 /// <summary>
 /// Constructor for loaded game.
 /// </summary>
 /// <param name="gamestate">Current game state as an int</param>
 public Game(int gamestate)
 {
     _function = new ConsoleFunctionality();
     gameState = gamestate;
     _name     = "";
     _role     = "";
     Advance();
 }
示例#2
0
 /// <summary>
 /// Constructor for new game.
 /// </summary>
 public Game()
 {
     _function = new ConsoleFunctionality();
     gameState = (int)States.GAME_STATE.GAMESTATE_GETNAME;
     _name     = "";
     _role     = "";
     Advance();
 }