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); } }
public void ExecuteModule(GameMockInfo nfo, PlayerInfo p) { nfo.SitInGame(p); }
public void ExecuteModule(GameMockInfo nfo, PlayerInfo p) { p.MoneySafeAmnt = m_Money; }