CEngineSharp_Client.World.Entity.Player.Player C# (CSharp) Method

Player() public method

public Player ( Texture texture, Vector2i position ) : System.Collections.Generic
texture SFML.Graphics.Texture
position Vector2i
return System.Collections.Generic
        public Player(Texture texture, Vector2i position)
        {
            this.Position = position;
            this.Sprite = new Sprite(texture);
            _inventory = new List<Item>();

            this.Direction = Directions.Down;
            this.Step = 0;
            this.CanMove = true;
            this.PlayerSpeed = .2f;
            this.Camera = new Camera(this);
        }