mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Add wire coating
This commit is contained in:
@@ -6,6 +6,15 @@ export class WireTunnelComponent extends Component {
|
||||
}
|
||||
|
||||
duplicateWithoutContents() {
|
||||
return new WireTunnelComponent();
|
||||
return new WireTunnelComponent({ multipleDirections: this.multipleDirections });
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {object} param0
|
||||
* @param {boolean=} param0.multipleDirections
|
||||
*/
|
||||
constructor({ multipleDirections = true }) {
|
||||
super();
|
||||
this.multipleDirections = multipleDirections;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user