UNPKG

@awesome-ecs/abstract

Version:

A comprehensive Entity-Component-System (ECS) Architecture implementation. Abstract components.

33 lines (32 loc) 1.17 kB
//#region src/systems/module/system-type.ts /** * Enum representing the built-in System pipeline types. * These types can be extended to introduce more types, and the System Runtime Pipeline should * add Middleware to handle the newly added types. */ let SystemType = /* @__PURE__ */ function(SystemType$1) { /** * The initialization phase of the Module pipeline. * This phase is typically used for setting up initial state and resources. */ SystemType$1[SystemType$1["initialize"] = 0] = "initialize"; /** * The update phase of the Module pipeline. * This phase is responsible for updating the game logic and state of entities. */ SystemType$1[SystemType$1["update"] = 1] = "update"; /** * The render phase of the Module pipeline. * This phase is used for rendering the game to the screen. */ SystemType$1[SystemType$1["render"] = 2] = "render"; /** * The synchronization phase of the Module pipeline. * This phase is used for synchronizing game state with external systems or other components. */ SystemType$1[SystemType$1["sync"] = 3] = "sync"; return SystemType$1; }({}); //#endregion export { SystemType }; //# sourceMappingURL=index.js.map