Class: BHell_Warning

BHell.BHell_Warning()

new BHell_Warning()

Warning sign class. Creates a warning on screen before each boss encounter and then melts it with a DOOM-like effect. If a SE is specified, it's played as well.

Source:

Extends

  • Sprite_Base

Methods

destroy()

Removes the warning from screen.

Source:

initialize(warningImg, warningDuration, warningSE, parent)

Constructor. Creates the sprite and plays the SE.

Parameters:
Name Type Description
warningImg

Picture to display.

warningDuration

Duration of the warning in frames.

warningSE

SE to be played.

parent

Container for the sprite.

Source:

update()

Updates the warning image. For the first half of the animation it fades in, for the second half it melts down.

Source: