Class: ActionsListManager

b5. ActionsListManager

b5.ActionsListManager

new b5.ActionsListManager(){b5.ActionsListManager}

core/actions.js, line 216

An ActionsListManager manages a collection of b5.ActionsList's. The App and each Actor / Scene has its own ActionsListManager

For a complete overview of Actions see Booty5 Actions Overview

Properties:
Name Type Description
actions Array.<b5.ActionsList>

Array of action lists that are managed by this manager

Returns:
Type Description
b5.ActionsListManager The created actions list manager

Methods

add(actionlist){b5.ActionsList}

core/actions.js, line 228

Adds the supplied actions list to the manager

Name Type Description
actionlist b5.ActionsList

The actions list to add

Returns:
Type Description
b5.ActionsList The added actions list

execute()

core/actions.js, line 273

Executes all actions within this actions list, automatically called by parent app, actor or scene

find(name){b5.ActionsList}

core/actions.js, line 258

Searches the actions list manager for the named actions list

Name Type Description
name string

Name of actions list to find

Returns:
Type Description
b5.ActionsList Found actions list or null if not found

remove(actionlist)

core/actions.js, line 239

Removes the supplied actions list from the manager

Name Type Description
actionlist b5.ActionsList

The actions list to remove