public void undo() { if (this.model != null) { LevelObjects.removeObject(this.model); this.model = null; } }
public Transform redo() { if (this.model != null) { if (this.objectAsset != null) { LevelObjects.removeObject(this.model); this.model = null; } else if (this.itemAsset != null) { LevelObjects.removeBuildable(this.model); this.model = null; } } return(null); }