public World() { gameLayer = new Layer(); uiLayer = new Layer(); consoleLayer = new Layer(); AddChild(gameLayer); AddChild(uiLayer); AddChild(consoleLayer); SetupUI(); AddChildren(); currentTool = new RelayPlacer(); ExposeObjectsToConsole(); }
public void SetTool(Tool tool) { currentTool = tool; }