public Server() { netServer = new Net.Server(); netServer.Start(); game = new Game(netServer); }
public Game(Net.Server netServer) { this.netServer = netServer; world = new World(this); controller = new GameNS.Controllers.Adventure(this); players = new Dictionary <ClientId, Player>(); gameSnapshotCache = new GameSnapshotCache(world); }