engine/actions.js
/*
      Actually move if the move succeeded
      NOTE: be sure to bind its context to this move action
     */
Actually move if the move succeeded
NOTE: be sure to bind its context to this move action
Actually move if the move succeeded NOTE : be sure to bind its context to this move action
_postTick(tick) {
        if (this._moveFailedAt == undefined) {
            this._toCell.moveTo(this.entity);
        }
    }
_postTick ( tick ) { if ( this . _moveFailedAt == undefined ) { this . _toCell . moveTo ( this . entity ) ; } }
Actually move if the move succeeded
NOTE: be sure to bind its context to this move action
Actually move if the move succeeded NOTE : be sure to bind its context to this move action
// we succeeded this move // we didn't move if the move failed // futureOccupants will be cleared at the start of the next tick