Familiar territory. Window_FightCommand 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 2
| initialize() | Sets up a new instance. |
| makeCommandList() | Makes the command list. |
Actions 1
| turnUnit() | Turn unit. |
Other 2
| cursorRight() | Cursor right. |
| cursorLeft() | Cursor left. |
Setup & Creation
initialize
method sourceWindow_FightCommand.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
makeCommandList
method sourceWindow_FightCommand.prototype.makeCommandList()
Makes the command list. (Same as the RPG Maker MZ method of this name.)
Actions
turnUnit
method sourceWindow_FightCommand.prototype.turnUnit(step)
Turn unit. (Same as the RPG Maker MZ method of this name.)
Other
cursorRight
method sourceWindow_FightCommand.prototype.cursorRight()
Cursor right. (Same as the RPG Maker MZ method of this name.)
cursorLeft
method sourceWindow_FightCommand.prototype.cursorLeft()
Cursor left. (Same as the RPG Maker MZ method of this name.)