flexible instance movement
This commit is contained in:
@@ -246,19 +246,6 @@ export class StructureInstance {
|
||||
this.setLayer(this.options.currentLayer - 1);
|
||||
}
|
||||
|
||||
startFlexibleMove(player) {
|
||||
this.flexMovingPlayerId = player.id;
|
||||
this.disable();
|
||||
// create flex movement outliner
|
||||
}
|
||||
|
||||
stopFlexibleMove(finalLocation) {
|
||||
// disable flex movement outliner
|
||||
this.move(this.getDimension(), finalLocation);
|
||||
this.enable();
|
||||
this.flexMovingPlayerId = void 0;
|
||||
}
|
||||
|
||||
isFlexibleMoving() {
|
||||
return this.flexMovingPlayerId !== void 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user