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.
tobspr_shapez.io/src/js/game/components/wire_tunnel.js

23 lines
564 B

import { Component } from "../component";
export class WireTunnelComponent extends Component {
static getId() {
return "WireTunnel";
}
4 years ago
/**
* @param {object} param0
* @param {boolean=} param0.multipleDirections
*/
constructor({ multipleDirections = true }) {
super();
this.multipleDirections = multipleDirections;
/**
* Linked network, only if its not multiple directions
4 years ago
* @type {Array<import("../systems/wire").WireNetwork>}
*/
this.linkedNetworks = [];
}
}