private Rectangle MakeSlotBounds(ClickableTextureComponent slot) { return(Utils.MakeRect( (slot.bounds.X - offset.x) * zoom, (slot.bounds.Y - offset.y) * zoom, (slot.bounds.Width - Game1.tileSize) * zoom, slotHeight * zoom)); }
private Rectangle MakeSlotBounds(ClickableTextureComponent slot) { return(Utils.MakeRect( (slot.bounds.X - this.Offset.X) * this.Zoom, (slot.bounds.Y - this.Offset.Y) * this.Zoom, (slot.bounds.Width - Game1.tileSize) * this.Zoom, this.SlotHeight * this.Zoom )); }