Namespace: ColorManager

ColorManager

The static class that manages colors in the game

Methods

ColorManager.crisisColor()stringstatic

Returns the color of the 18th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.ctGaugeColor1()stringstatic

Returns the color of the 27th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.ctGaugeColor2()stringstatic

Returns the color of the 28th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.damageColor(colorType)stringstatic

Returns a color for various types of recover/damage
NameTypeDescription
colorTypenumberValid types are 0 = HP Damage, 1 = HP Recover, 2 = MP Damage, 3 = MP Recover
Returns:
TypeDescription
stringHEX HTML color

ColorManager.deathColor()stringstatic

Returns the color of the 19th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.dimColor1()stringstatic

Returns the dim first color
Returns:
TypeDescription
stringRGBA HTML color

ColorManager.dimColor2()stringstatic

Returns the dim second color
Returns:
TypeDescription
stringRGBA HTML color

ColorManager.gaugeBackColor()stringstatic

Returns the color of the 20th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.hpColor(actor)stringstatic

Returns a color based on actor's health (normal, crisis, dead)
NameTypeDescription
actorGame_ActorGame actor to check status of for text color
Returns:
TypeDescription
stringHEX HTML color

ColorManager.hpGaugeColor1()stringstatic

Returns the color of the 21st colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.hpGaugeColor2()stringstatic

Returns the color of the 22nd colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.itemBackColor1()stringstatic

Returns the item back first color
Returns:
TypeDescription
stringRGBA HTML color

ColorManager.itemBackColor2()stringstatic

Returns the item back second color
Returns:
TypeDescription
stringRGBA HTML color

ColorManager.loadWindowskin()static

Loads the game windowskin, important because colors come from the windowskin image file

ColorManager.mpColor()stringstatic

Returns the normal color
Returns:
TypeDescription
stringHEX HTML color

ColorManager.mpCostColor()stringstatic

Returns the color of the 24th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.mpGaugeColor1()stringstatic

Returns the color of the 23rd colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.mpGaugeColor2()stringstatic

Returns the color of the 24th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.normalColor()stringstatic

Returns the color of the first colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.outlineColor()stringstatic

Returns the outline color
Returns:
TypeDescription
stringRGBA HTML color

ColorManager.paramchangeTextColor(change)stringstatic

Returns the normal color, power up color, or power down color depending on if change is negative, 0, or positive
NameTypeDescription
changenumberThe amount by which the parameter will change
Returns:
TypeDescription
stringHEX HTML color

ColorManager.pendingColor()stringstatic

Returns the color at position (120, 120) in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.powerDownColor()stringstatic

Returns the color of the 26th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.powerUpColor()stringstatic

Returns the color of the 25th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.systemColor()stringstatic

Returns the color of the 17th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.textColor(n)stringstatic

Returns the color of the pixels at position n (Bottom right of windowskin, the colored squares from top left to bottom right)
NameTypeDescription
nnumberThe index of the colored squares to take a pixel from
Returns:
TypeDescription
stringHEX HTML color

ColorManager.tpColor()stringstatic

Returns the normal color
Returns:
TypeDescription
stringHEX HTML color

ColorManager.tpCostColor()stringstatic

Returns the color of the 30th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.tpGaugeColor1()stringstatic

Returns the color of the 29th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color

ColorManager.tpGaugeColor2()stringstatic

Returns the color of the 30th colored square in the windowskin
Returns:
TypeDescription
stringHEX HTML color