Class: GroupManager

GroupManager()

new GroupManager()

Source:

Methods

addToGroup(entity, groupName)

Add entity to group
Parameters:
Name Type Description
entity Entity
groupName string
Source:

getGroup(name) → {Array.<Entity>}

Get a group
Parameters:
Name Type Description
name string
Source:
Returns:
Type
Array.<Entity>

removeFromGroup(entity, groupName)

Parameters:
Name Type Description
entity Entity
groupName string
Source: