mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Improve information when hovering wires
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Component } from "../component";
|
||||
import { WireNetwork } from "../systems/wire";
|
||||
|
||||
export class WireTunnelComponent extends Component {
|
||||
static getId() {
|
||||
@@ -16,5 +17,11 @@ export class WireTunnelComponent extends Component {
|
||||
constructor({ multipleDirections = true }) {
|
||||
super();
|
||||
this.multipleDirections = multipleDirections;
|
||||
|
||||
/**
|
||||
* Linked network, only if its not multiple directions
|
||||
* @type {Array<WireNetwork>}
|
||||
*/
|
||||
this.linkedNetworks = [];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user