Class: Battle
Class which represents the current battle.
Properties
players
{Array.<Character>}Array with two elements,
[ player1, player2 ]
.active
{boolean}Is the battle currently active, this is
false
during first couple of seconds when the announcer says "Round One... Fight!".frame
{number}The current frame number of the battle. Only active frames are counted.
slowFramesRemaining
{number}When a projectile connects the battle slows down for a moment. The slowdown works by only executing a tick every
slowRate
frames forslowFramesRemaining
. There's also hitstun which is different and not currently documented.slowNextTick
{number}If a slowdown is currently active this is number of frames until another tick is executed.
slowFramesRemaining
{number}Number of frames remaining until this slowdown is done.
round
{round}Current round number.