π¦ JEInternEmptyComponent
Technical reference for the
JEInternEmptyComponentclass of JarEngine.
Inherit from
β’>JEInternEntityComponent<β’π
β οΈ Internal Class Warning
This class is part of JarEngineβs internal architecture and is not intended for normal user usage.
Direct usage or modification may break engine behavior. Use only when creating advanced extensions, custom systems, or engine-level features.
πΉ Overview
JEInternEmptyComponent is responsible for representing an empty component used for entity checking.
Provides:
- A placeholder component for entities without additional components.
- Compatibility with the entity component system.
- A default false-like behavior for component filtering.
Used internally by the entity system when an entity requires a component container entry without storing additional data.
πΉ Location
JarEngine
β
βββ Interns
β βββ JEInternEmptyComponent
β
βββ ...
πΉ Data
No public data nor property
πΉ API
| Function | Arguments | Returns | Description |
|---|---|---|---|
__init__ |
owner: JEEntity |
Β | Initialize the empty component |
__call__ |
Β | NoneType |
Return no component data for entity checking |
__bool__ |
Β | bool |
Return false for entity checking |
copy |
new_owner: JEEntity |
JEInternEmptyComponent |
Copy the empty component to another entity |