MrGravity.Import_Code.EntityInfo.CreatePlayerEndInfo C# (CSharp) Méthode

CreatePlayerEndInfo() public static méthode

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