mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
25 lines
556 B
JavaScript
25 lines
556 B
JavaScript
import { BaseItem } from "../game/base_item";
|
|
import { LogicGateSystem } from "../game/systems/logic_gate";
|
|
|
|
/**
|
|
* Custom wire processor (logic gate/virtual processor)
|
|
*/
|
|
export class ModWireProcessor {
|
|
/**
|
|
* @returns {String}
|
|
*/
|
|
static getType() {
|
|
return this.prototype.constructor.name;
|
|
}
|
|
|
|
/**
|
|
* @param {Array<BaseItem|null>} parameters
|
|
* @param {LogicGateSystem} system
|
|
* @returns {Array<BaseItem>|BaseItem}
|
|
*/
|
|
static compute(system, parameters) {
|
|
abstract;
|
|
return [];
|
|
}
|
|
}
|