Exemple #1
0
        public Player(MainGame game, Character character)
        {
            _gameRef = game;
            _camera = new Camera(_gameRef.ScreenRectangle, ControlsManager.Controls);
            _char = character;
            _mapSize = new Point(0, 0);
            _camera.SetMapSize(_mapSize.X, _mapSize.Y);

            LogManager.GetLogger(this).Debug("Player object created.");
        }