|
Drag[en]gine Script Module DragonScript 1.35
|
List of attachable behavior factories. More...
Public Member Functions | |
| void | add (AttachableBehaviorFactory factory) |
| Add factory. | |
| void | addAll (AttachableBehaviorFactoryList list) |
| Add all factories from list. | |
| void | addReplace (AttachableBehaviorFactory factory) |
| Add factory replacing duplicate if present. | |
| AttachableBehaviorFactory | find (Block ablock) |
| Find factory using block. | |
| void | forEach (Block ablock) |
| Visit factories using block. | |
| int | getCount () |
| Count of factories. | |
| AttachableBehaviorFactory | getWithId (String id) |
| Factory with identifier or null if absent. | |
| bool | hasWithId (String id) |
| Factory with identifier is present. | |
| AttachableBehaviorFactoryList | new () |
| Create factory list. | |
| AttachableBehaviorFactoryList | new (AttachableBehaviorFactoryList list) |
| Create copy of factory list. | |
| void | removeAll () |
| Remove all factories. | |
Public Attributes | |
| Dictionary | pFactories |
List of attachable behavior factories.
| void Dragengine.Scenery.AttachableBehaviorFactoryList.add | ( | AttachableBehaviorFactory | factory | ) |
| void Dragengine.Scenery.AttachableBehaviorFactoryList.addAll | ( | AttachableBehaviorFactoryList | list | ) |
| void Dragengine.Scenery.AttachableBehaviorFactoryList.addReplace | ( | AttachableBehaviorFactory | factory | ) |
| AttachableBehaviorFactory Dragengine.Scenery.AttachableBehaviorFactoryList.find | ( | Block | ablock | ) |
Find factory using block.
Block parameter AttachableBehaviorFactory and returns true if found.
References addAll(), find(), forEach(), pFactories, and removeAll().
Referenced by find().
| void Dragengine.Scenery.AttachableBehaviorFactoryList.forEach | ( | Block | ablock | ) |
Visit factories using block.
Block parameter AttachableBehaviorFactory.
References addReplace(), and pFactories.
Referenced by find().
| int Dragengine.Scenery.AttachableBehaviorFactoryList.getCount | ( | ) |
Count of factories.
Referenced by getWithId().
| AttachableBehaviorFactory Dragengine.Scenery.AttachableBehaviorFactoryList.getWithId | ( | String | id | ) |
Factory with identifier or null if absent.
References getCount(), and pFactories.
Referenced by add().
| bool Dragengine.Scenery.AttachableBehaviorFactoryList.hasWithId | ( | String | id | ) |
Factory with identifier is present.
Referenced by addReplace().
| AttachableBehaviorFactoryList Dragengine.Scenery.AttachableBehaviorFactoryList.new | ( | ) |
| AttachableBehaviorFactoryList Dragengine.Scenery.AttachableBehaviorFactoryList.new | ( | AttachableBehaviorFactoryList | list | ) |
Create copy of factory list.
References pFactories.
| void Dragengine.Scenery.AttachableBehaviorFactoryList.removeAll | ( | ) |
| Dictionary Dragengine.Scenery.AttachableBehaviorFactoryList.pFactories |
Referenced by add(), addAll(), find(), forEach(), getWithId(), new(), new(), and removeAll().