gibbon.js
Version:
Actor/Component system for use with pixi.js.
17 lines • 601 B
JavaScript
/**
* Core GameEvents emitted and used by the system.
*/
export var EngineEvent;
(function (EngineEvent) {
EngineEvent["ActorDestroyed"] = "destroy";
/**
* At the point when a component is destroyed,
* its actor can still be referenced through comp.actor.
*/
EngineEvent["ComponentDestroyed"] = "compDestroy";
EngineEvent["ChildAdded"] = "addChild";
EngineEvent["ChildRemoved"] = "removeChild";
EngineEvent["Collision"] = "collision";
EngineEvent["ScreenResized"] = "resize";
})(EngineEvent || (EngineEvent = {}));
//# sourceMappingURL=engine-events.js.map