TensionBar

┗> Object > Class


The bar you see on the left of the battle UI.

This is simply a display for tension, but not where tension itself is stored.

Does not depend on battle.


Constructor


TensionBar(x: number, y: number, dont_animate: number)

Arguments:

x: number
y: number
dont_animate: number




Methods
















TensionBar:getFillColor()

Get the color for the tension bar's "fill".

Returns:

1: unknown


TensionBar:getFillDecreaseColor()

Get the color for the tension bar's "fill" when the tension is decreasing.

Returns:

1: unknown


TensionBar:getFillMaxColor()

Get the color for the tension bar's "fill" when tension is maxed.

Returns:

1: unknown


TensionBar:getPercentageFor(variable: any)

Arguments:

variable: any

Returns:

1: unknown


TensionBar:getPercentageFor250(variable: any)

Arguments:

variable: any

Returns:

1: unknown












TensionBar:setTensionPreview(amount: any)

Arguments:

amount: any







Fields


TensionBar.current_flash: TensionBarGlow?

The current glow effect, if any.



Undocumented















TensionBar.font: love.Font

Defines the shape of characters that can be drawn onto the screen.

Open in Browser