The animation sprites assigned to the sprite object.
The target that will have the animations applied to it.
Property determining the sprite's visibility.
use heavy renderer that will reduce border artifacts and apply advanced blendModes
The image for the sprite.
The blend mode to be applied to the sprite.
[read-only] The array of children of the sprite.
Sets the filters for the sprite.
The height of the sprite without the scale.
The opacity of the sprite (0 to 255).
[read-only] The object that contains the sprite.
The origin point of the sprite. (0,0) to (1,1).
The rotation of the sprite in radians.
The scale factor of the sprite.
The visibility of the sprite.
The width of the sprite without the scale.
The x coordinate of the sprite.
The y coordinate of the sprite.
Number of the created objects.
checks if we need to speed up custom blendmodes
Adds a child to the container.
The child to add
The child that was added
Adds a child to the container at a specified index.
The child to add
The index to place the child in
The child that was added
Calls each of the listeners registered for a given event.
The event name.
Arguments that are passed to registered listeners
true
if the event had listeners, else false
.
Return an array listing the events for which the emitter has registered listeners.
Gets the blend color for the sprite.
The blend color [r, g, b, a]
Gets the color tone for the sprite.
The color tone [r, g, b, gray]
Hides the sprite.
Returns true if the sprite battler is in the home position.
Returns true if an animation is currently playing.
Returns true if the effect type on the sprite enemy is not null.
Returns true if the sprite for the battler is moving.
Return the listeners registered for a given event.
The event name.
Check if there listeners for a given event.
If exists
argument is not true
lists listeners.
The event name.
Only check if there are listeners.
Sets the x and y at once.
The x coordinate of the sprite
The y coordinate of the sprite
Handler for when movement has ended.
Removes a child from the container.
The child to remove
The child that was removed
Removes a child from the specified index position.
The index to get the child from
The child that was removed
Revers the sprite enemy to a normal state.
Sets the battler to an instance of game enemy.
Instance of game enemy.
Sets the blend color for the sprite.
The blend color [r, g, b, a]
Sets the color tone for the sprite.
The color tone [r, g, b, gray]
Sets the rectagle of the bitmap that the sprite displays.
The x coordinate of the frame
The y coordinate of the frame
The width of the frame
The height of the frame
Sets the home position of the sprite battler to the given x and y coordinates.
This function doesn't apply anymore.
Sets up animation on the sprite battler.
Sets up damage popup on the sprite battler.
Shows the sprite.
Starts a new animation on the current sprite by assigning a new Sprite_Animation object to the sprite's parent.
Starts the appearinig effect on the sprite enemy.
Starts the blink effect on the sprite enemy.
Starts the boss collapse effect of the sprite enemy.
Starts the collapse effect of the sprite enemy.
Starts the disappearing effect on the sprite enemy.
Starts the instant collapse effect of the sprite enemy.
Starts the whiten effect on the sprite enemy.
Updates the sprite for each frame.
Updates the sprite battler animation.
Updates the animation sprites, cloning them; if the sprite is playing, pushes the sprites into animation sprites, otherwise the sprite is removed.
Updates the appear effect on the sprite enemy.
Updates the bitmap of the sprite battler.
Updates the blink effect on the sprite enemy.
Updates the boss collapse effect.
Updates the collapse effect.
Updates the damage pop up for the sprite battler.
Updates the sprite battler's current frame.
Updates the instant collapse effect.
Updates the main loop of the sprite battler.
Updates movement on the sprite battler.
Updates the position of the sprite battler.
Updates the state sprite on the sprite enemy.
Updadtes the visibility of the sprite based on the _hiding property.
Updates the whiten effect on the sprite enemy.
Generated using TypeDoc
Sprite_Enemy
The sprite for displaying an enemy.