mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
91 lines
2.8 KiB
JavaScript
91 lines
2.8 KiB
JavaScript
/* typehints:start */
|
|
import { BeltComponent } from "./components/belt";
|
|
import { BeltUnderlaysComponent } from "./components/belt_underlays";
|
|
import { HubComponent } from "./components/hub";
|
|
import { ItemAcceptorComponent } from "./components/item_acceptor";
|
|
import { ItemEjectorComponent } from "./components/item_ejector";
|
|
import { ItemProcessorComponent } from "./components/item_processor";
|
|
import { MinerComponent } from "./components/miner";
|
|
import { StaticMapEntityComponent } from "./components/static_map_entity";
|
|
import { StorageComponent } from "./components/storage";
|
|
import { UndergroundBeltComponent } from "./components/underground_belt";
|
|
import { WiredPinsComponent } from "./components/wired_pins";
|
|
import { WireComponent } from "./components/wire";
|
|
import { ConstantSignalComponent } from "./components/constant_signal";
|
|
import { LogicGateComponent } from "./components/logic_gate";
|
|
import { LeverComponent } from "./components/lever";
|
|
import { WireTunnelComponent } from "./components/wire_tunnel";
|
|
import { DisplayComponent } from "./components/display";
|
|
import { BeltReaderComponent } from "./components/belt_reader";
|
|
import { FilterComponent } from "./components/filter";
|
|
/* typehints:end */
|
|
|
|
/**
|
|
* Typedefs for all entity components. These are not actually present on the entity,
|
|
* thus they are undefined by default
|
|
*/
|
|
export class EntityComponentStorage {
|
|
constructor() {
|
|
/* typehints:start */
|
|
|
|
/** @type {StaticMapEntityComponent} */
|
|
this.StaticMapEntity;
|
|
|
|
/** @type {BeltComponent} */
|
|
this.Belt;
|
|
|
|
/** @type {ItemEjectorComponent} */
|
|
this.ItemEjector;
|
|
|
|
/** @type {ItemAcceptorComponent} */
|
|
this.ItemAcceptor;
|
|
|
|
/** @type {MinerComponent} */
|
|
this.Miner;
|
|
|
|
/** @type {ItemProcessorComponent} */
|
|
this.ItemProcessor;
|
|
|
|
/** @type {UndergroundBeltComponent} */
|
|
this.UndergroundBelt;
|
|
|
|
/** @type {HubComponent} */
|
|
this.Hub;
|
|
|
|
/** @type {StorageComponent} */
|
|
this.Storage;
|
|
|
|
/** @type {WiredPinsComponent} */
|
|
this.WiredPins;
|
|
|
|
/** @type {BeltUnderlaysComponent} */
|
|
this.BeltUnderlays;
|
|
|
|
/** @type {WireComponent} */
|
|
this.Wire;
|
|
|
|
/** @type {ConstantSignalComponent} */
|
|
this.ConstantSignal;
|
|
|
|
/** @type {LogicGateComponent} */
|
|
this.LogicGate;
|
|
|
|
/** @type {LeverComponent} */
|
|
this.Lever;
|
|
|
|
/** @type {WireTunnelComponent} */
|
|
this.WireTunnel;
|
|
|
|
/** @type {DisplayComponent} */
|
|
this.Display;
|
|
|
|
/** @type {BeltReaderComponent} */
|
|
this.BeltReader;
|
|
|
|
/** @type {FilterComponent} */
|
|
this.Filter;
|
|
|
|
/* typehints:end */
|
|
}
|
|
}
|