engine/core.js
/**
       Move the entity to this cell.
       Updates the occupants of the old cell, this cell,
       and the cell property of the entity.
     */
Move the entity to this cell.
Updates the occupants of the old cell, this cell,
and the cell property of the entity.
Move the entity to this cell . Updates the occupants of the old cell this cell and the cell property of the entity .
moveTo(entity) {
        entity.cell.leave(entity);
        this.enter(entity);
        entity.cell = this;
    }
moveTo ( entity ) { entity . cell . leave ( entity ) ; this . enter ( entity ) ; entity . cell = this ; }
Move the entity to this cell.
Move the entity to this cell .