예제 #1
0
 public ModularPlayerMock(GameMockInfo nfo, PlayerNames name, params IPlayerModule[] modules)
 {
     Game   = nfo;
     Player = new PlayerInfo(name.ToString(), 5000);
     foreach (var m in modules)
     {
         m.ExecuteModule(Game, Player);
     }
 }
예제 #2
0
 public void ExecuteModule(GameMockInfo nfo, PlayerInfo p)
 {
     nfo.SitInGame(p);
 }
예제 #3
0
 public void ExecuteModule(GameMockInfo nfo, PlayerInfo p)
 {
     p.MoneySafeAmnt = m_Money;
 }