/// <summary>Get a rectangle which roughly bounds the visible sprite relative the viewport.</summary> public override Rectangle GetSpriteArea() { SFarmer farmer = (SFarmer)this.Value; return(this.GetSpriteArea(farmer.GetBoundingBox(), farmer.FarmerSprite.SourceRect)); }
/// <summary>Get the area occupied by the target (absolute).</summary> public override Rectangle GetOccupiedArea() { SFarmer farmer = (SFarmer)this.Value; return(farmer.GetBoundingBox()); }