Example #1
0
        private void CreatePlayers()
        {
            var player =
                _factory.CreatePlayer(
                    new Position(GameConfig.PLAYER_START_POSITION.XPos, GameConfig.PLAYER_START_POSITION.YPos),
                    Direction.Up);

            _gameObjects.Add(player);
        }