2020-05-09 14:45:23 +00:00
|
|
|
/* typehints:start */
|
|
|
|
import { StaticMapEntityComponent } from "./components/static_map_entity";
|
|
|
|
import { BeltComponent } from "./components/belt";
|
|
|
|
import { ItemEjectorComponent } from "./components/item_ejector";
|
|
|
|
import { ItemAcceptorComponent } from "./components/item_acceptor";
|
|
|
|
import { MinerComponent } from "./components/miner";
|
|
|
|
import { ItemProcessorComponent } from "./components/item_processor";
|
|
|
|
import { ReplaceableMapEntityComponent } from "./components/replaceable_map_entity";
|
|
|
|
import { UndergroundBeltComponent } from "./components/underground_belt";
|
|
|
|
import { UnremovableComponent } from "./components/unremovable";
|
|
|
|
import { HubComponent } from "./components/hub";
|
2020-05-20 13:51:06 +00:00
|
|
|
import { StorageComponent } from "./components/storage";
|
2020-06-24 20:23:10 +00:00
|
|
|
import { EnergyGeneratorComponent } from "./components/energy_generator";
|
|
|
|
import { WiredPinsComponent } from "./components/wired_pins";
|
2020-07-01 15:51:11 +00:00
|
|
|
import { EnergyConsumerComponent } from "./components/energy_consumer";
|
2020-05-09 14:45:23 +00:00
|
|
|
/* 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 {ReplaceableMapEntityComponent} */
|
|
|
|
this.ReplaceableMapEntity;
|
|
|
|
|
|
|
|
/** @type {UndergroundBeltComponent} */
|
|
|
|
this.UndergroundBelt;
|
|
|
|
|
|
|
|
/** @type {UnremovableComponent} */
|
|
|
|
this.Unremovable;
|
|
|
|
|
|
|
|
/** @type {HubComponent} */
|
|
|
|
this.Hub;
|
|
|
|
|
2020-05-20 13:51:06 +00:00
|
|
|
/** @type {StorageComponent} */
|
|
|
|
this.Storage;
|
|
|
|
|
2020-06-24 20:23:10 +00:00
|
|
|
/** @type {EnergyGeneratorComponent} */
|
|
|
|
this.EnergyGenerator;
|
|
|
|
|
|
|
|
/** @type {WiredPinsComponent} */
|
|
|
|
this.WiredPins;
|
|
|
|
|
2020-07-01 15:51:11 +00:00
|
|
|
/** @type {EnergyConsumerComponent} */
|
|
|
|
this.EnergyConsumer;
|
|
|
|
|
2020-05-09 14:45:23 +00:00
|
|
|
/* typehints:end */
|
|
|
|
}
|
|
|
|
}
|