Bug.GameObjects.Fighter.GetBoundingBox C# (CSharp) Méthode

GetBoundingBox() public méthode

public GetBoundingBox ( ) : Rectangle
Résultat Microsoft.Xna.Framework.Rectangle
        public override Rectangle GetBoundingBox()
        {
            return new Rectangle((int)Pos.X, (int)Pos.Y, anim.GetWidth(), anim.GetHeight());//new Rectangle((int)Pos.X, (int)Pos.Y, tex.Width, tex.Height);
        }