private void newGame() { manager = null; manager = RTSManager.Instance(Window.ClientBounds.Width, Window.ClientBounds.Height, Content); RTSManager.NewGame(); curState = gameState.Playing; }
public static RTSManager Instance(int WindowWidth, int WindowHeight, ContentManager content) { instance = new RTSManager(); instance.setContentManger(content); instance.setWindowLimits(WindowWidth, WindowHeight); return instance; }