src/scripts/Dungeon.js
//this might trigger onenter/onexit scenes, those scenes should then call resumeRoom to finish room-swap
this might trigger onenter/onexit scenes, those scenes should then call resumeRoom to finish room-swap
this might trigger onenter / onexit scenes those scenes should then call resumeRoom to finish room - swap
moveToRoom(newRoom) {
        var _actualRoom = this.actualRoom;
        this.actualRoom = newRoom;
        if (_actualRoom != null) {
            if(_actualRoom.floor!==newRoom.floor) this.floorChange(_actualRoom.floor,newRoom.floor);
            newRoom.moveHere(_actualRoom); 
        } else {   
            this.resumeRoom();
        }
    }
moveToRoom ( newRoom ) { var _actualRoom = this . actualRoom ; this . actualRoom = newRoom ; if ( _actualRoom != null ) { if ( _actualRoom . floor !== newRoom . floor ) this . floorChange ( _actualRoom . floor , newRoom . floor ) ; newRoom . moveHere ( _actualRoom ) ; } else { this . resumeRoom ( ) ; } }
this might trigger onenter/onexit scenes, those scenes should then call resumeRoom to finish room-swap
this might trigger onenter / onexit scenes those scenes should then call resumeRoom to finish room - swap
//this will trigger onExit/onEnter