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;
        }