new AspectSubscriptionManager(world)
Manage All instances of EntitySubscription
Parameters:
| Name | Type | Description |
|---|---|---|
world |
World |
Members
-
<static> EntitySubscriptions :Object
-
Component Type of component object
Type:
- Object
-
<static> managers :ComponentType
-
Component Type of component object
Type:
- ComponentType
-
<static> world :World
-
Copy of World instance
Type:
Methods
-
createSubscription(aspect)
-
Create an new Entity subscription and
Parameters:
Name Type Description aspectAspect An aspect object
Returns:
EntitySubscription linked to the aspect
- Type
- EntitySubscription
-
getSubscription(aspect)
-
Get a subscription linked to the given aspect
Parameters:
Name Type Description aspectAspect -
Returns:
EntitySubscription linked to the given aspect
- Type
- EntitySubscription
-
process(Changed, Removed)
-
Process of AspectSubscriptionManager
Parameters:
Name Type Description ChangedArray Id entities
RemovedArray Id entities
-
registerManager(manager)
-
Register a new manager
Parameters:
Name Type Description managerManager An inherited class of "manager"