Class: Manager

Manager


new Manager()

Base Manager

Author:
  • episanchez

Extends

Methods


begin()

Begin processing of system

Inherited From:

checkProcessing()

Check if the system could be process.

Inherited From:

disable()

Disable System

Inherited From:

enable()

Enable system

Inherited From:

end()

End Processing of system

Inherited From:

getEnabled()

Give the status boolean of system

Inherited From:
Returns:

IsEnable

Type
boolean

getWorld()

Get the World
return {World}

Inherited From:

initialize()

Initialization of the manager (register it in the aspectSubscriptionManager)

Overrides:

<abstract> insert(id)

Insert Subscription listener

Parameters:
Name Type Description
id number

id of the entity inserted


inserted(ids)

Inserted Subscription Listener (call the insert methods for each ids)

Parameters:
Name Type Description
ids Array.<Number>

Array of entity ids


process()

Processing of system, calls if check processing is true : begin, processSystem, end methods

Inherited From:

<abstract> processSystem()

Process the system
Have to be impemented

Inherited From:

<abstract> remove(id)

Remove Subscription listener

Parameters:
Name Type Description
id number

id of the entity removed


removed(ids)

Removed Subscription Listener (call the remove methods for each ids)

Parameters:
Name Type Description
ids Array.<Number>

Array of entity ids


setWorld(world)

Set a world to the system

Parameters:
Name Type Description
world World

-

Inherited From: