MrGravity.Import_Code.EntityInfo.CreatePlayerEndInfo C# (CSharp) Метод

CreatePlayerEndInfo() публичный статический Метод

public static CreatePlayerEndInfo ( Vector2 startLocation ) : EntityInfo
startLocation Microsoft.Xna.Framework.Vector2
Результат EntityInfo
        public static EntityInfo CreatePlayerEndInfo(Vector2 startLocation)
        {
            var playerEnd = new EntityInfo("PlayerEnd", startLocation);
            playerEnd.MProperties.Add("Shape", "Circle");
            playerEnd.MId = -2;
            return playerEnd;
        }