MrGravity.Import_Code.EntityInfo.CreatePlayerEndInfo C# (CSharp) Method

CreatePlayerEndInfo() public static method

public static CreatePlayerEndInfo ( Vector2 startLocation ) : EntityInfo
startLocation Microsoft.Xna.Framework.Vector2
return EntityInfo
        public static EntityInfo CreatePlayerEndInfo(Vector2 startLocation)
        {
            var playerEnd = new EntityInfo("PlayerEnd", startLocation);
            playerEnd.MProperties.Add("Shape", "Circle");
            playerEnd.MId = -2;
            return playerEnd;
        }