You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { Component } from "../component";
|
|
|
|
|
|
|
|
export class WireTunnelComponent extends Component {
|
|
|
|
static getId() {
|
|
|
|
return "WireTunnel";
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {object} param0
|
|
|
|
* @param {boolean=} param0.multipleDirections
|
|
|
|
*/
|
|
|
|
constructor({ multipleDirections = true }) {
|
|
|
|
super();
|
|
|
|
this.multipleDirections = multipleDirections;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Linked network, only if its not multiple directions
|
|
|
|
* @type {Array<import("../systems/wire").WireNetwork>}
|
|
|
|
*/
|
|
|
|
this.linkedNetworks = [];
|
|
|
|
}
|
|
|
|
}
|