World.GameActors.GameObjects.Avatar.Avatar C# (CSharp) Method

Avatar() public method

public Avatar ( string tilesetName, int tileId, string name, int id, System.Vector2 initialPosition, System.Vector2 size, float direction ) : System.Drawing
tilesetName string
tileId int
name string
id int
initialPosition System.Vector2
size System.Vector2
direction float
return System.Drawing
        public Avatar(
            string tilesetName,
            int tileId,
            string name,
            int id,
            Vector2 initialPosition,
            Vector2 size,
            float direction = 0
            )
            : base(tilesetName, tileId, name, initialPosition, size, direction, typeof(CircleShape)
                )
        {
            Id = id;
            NextUpdateAfter = 1;
            Energy = 1f;
            Temperature = 1f;
            Rested = 1f;
            PuppetControlled = false;
        }