public override void Setup() { _meta = Entity.Create("Meta", new ReturnToMenuController(), new GameController()); _starShipController = ActorFactory.CreateShip(); _spawner = Entity.Create("Spawner", new EnemySpawner()); _healthbar = Entity.Create("Healthbar", new Healthbar()); _text = ActorFactory.CreateGameOverText(); _restartButton = ActorFactory.CreateButton("Restart", "restart"); _panel = Entity.ComposeNew("RestartPanel", _text, _restartButton); _scoreBoard = ActorFactory.CreateScoreBoard(); }