omject
v2.0.1
Published
Object model objects. Strange concept, but pretty much just objects that have owners... or don't. Objects that are set up to have owners. They can bubble events up, or find who owns the thing that owns them.
Downloads
1
Readme
Omject
Object model objects. Strange concept, but pretty much just objects that have owners... or don't. Objects that are set up to have owners. They can bubble events up, or find who owns the thing that owns them.
Circular Dependencies
If you ever run into an issue with circular dependencies (usually resulting in a undefined import in the parent file), use getAncestor(omjectId: string) instead of getAncestor(omjectClass: typeof Omject). You will also have to set the omjectId for the parent class.