//Область столкновения public BBox GetBounds() { float x = position.X; float y = position.Y; float width = (state == State.Attack) ? currentSprite.GetBounds().Width : standSprite.GetBounds().Width; float height = currentSprite.GetBounds().Height; return(new BBox(x, y, width, height, ObjectType.Person, ID)); }