Class in reactor_sprites.js
Sprite_StateIcon
9 public functions in 4 groups · show internal (_) functions
Familiar territory. Sprite_StateIcon keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.
Quick Reference
Setup & Creation 4
| initialize() | Sets up a new instance. |
| initMembers() | Initializes the members. |
| loadBitmap() | Loads the bitmap. |
| setup() | Setup. |
Checks (True / False) 1
| shouldDisplay() | Whether it should display. |
Updating & Drawing 3
| update() | Update. |
| updateIcon() | Updates the icon each frame. |
| updateFrame() | Updates the frame each frame. |
Other 1
| animationWait() | Animation wait. |
Setup & Creation
initialize
method sourceSprite_StateIcon.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
initMembers
method sourceSprite_StateIcon.prototype.initMembers()
Initializes the members. (Same as the RPG Maker MZ method of this name.)
loadBitmap
method sourceSprite_StateIcon.prototype.loadBitmap()
Loads the bitmap. (Same as the RPG Maker MZ method of this name.)
setup
method sourceSprite_StateIcon.prototype.setup(battler)
Setup. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
shouldDisplay
method sourceSprite_StateIcon.prototype.shouldDisplay()
Whether it should display. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceSprite_StateIcon.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateIcon
method sourceSprite_StateIcon.prototype.updateIcon()
Updates the icon each frame. (Same as the RPG Maker MZ method of this name.)
updateFrame
method sourceSprite_StateIcon.prototype.updateFrame()
Updates the frame each frame. (Same as the RPG Maker MZ method of this name.)
Other
animationWait
method sourceSprite_StateIcon.prototype.animationWait()
Animation wait. (Same as the RPG Maker MZ method of this name.)