Class: Endboss

Endboss()

Represents the end boss in the game.

Constructor

new Endboss()

Creates an instance of Endboss.
Source:

Methods

animate()

Animates the end boss.
Source:

endbossAttack()

Plays the attack animation for the end boss.
Source:

endbossDead()

Plays the dead animation for the end boss.
Source:

endbossEngreyImages()

Plays the energy animation for the end boss.
Source:

endbossHurt()

Plays the hurt animation for the end boss.
Source:

endbossMove()

Moves the end boss to the left.
Source:

endbossWalk()

Handles the walking animation and movement of the end boss.
Source:

endbossWalkImages()

Plays the walking animation for the end boss.
Source:

firstContact()

Checks if the first contact with the end boss has occurred.
Source:

handleFirstContact()

Character the first contact with the end boss.
Source:

playFirstContactSounds()

Plays the sounds for the first contact with the end boss.
Source:

setFirstContactFlags()

Sets the flags indicating the first contact with the end boss is completed.
Source:

startAnimationIntervals()

Starts the animation intervals for the end boss.
Source:

startMovementInterval()

Starts the movement interval for the end boss.
Source: