internal override void Init() { _gameWorld = new GameWorld(100, 100); levelGenerator = new LevelGenerator { RoomsMaxWidth = 10, RoomsMaxHeight = 15, RoomCount = 0, Scale = 0.5f, WallSmoothing = 0.5f }; levelGenerator.GenerationFinishedEvent += OnFinishGeneration; levelGenerator.Generate(_gameWorld); Game.g_Keyboard.KeyDown += GKeyboardOnKeyDown; }