|
Drag[en]gine Script Module DragonScript 1.32.1
|
List of behavior factories. More...
Public Member Functions | |
| void | add (BehaviorFactory factory) |
| Add factory. | |
| void | addAll (BehaviorFactoryList list) |
| Add all factories from list. | |
| void | addReplace (BehaviorFactory factory) |
| Add factory replacing duplicate if present. | |
| BehaviorFactory | find (Block ablock) |
| Find factory using block. | |
| void | forEach (Block ablock) |
| Visit factories using block. | |
| int | getCount () |
| Count of factories. | |
| BehaviorFactory | getWithId (String id) |
| Factory with identifier or null if absent. | |
| bool | hasWithId (String id) |
| Factory with identifier is present. | |
| BehaviorFactoryList | new () |
| Create factory list. | |
| BehaviorFactoryList | new (BehaviorFactoryList list) |
| Create copy of factory list. | |
| void | removeAll () |
| Remove all factories. | |
Public Attributes | |
| Dictionary | pFactories |
List of behavior factories.
Behavior factories allow generic BehaviorElementClass to be created using XML element class files (*.deeclass) where not only element class properties can be defined but also behaviors added.
| void Dragengine.Scenery.BehaviorFactoryList.add | ( | BehaviorFactory | factory | ) |
Add factory.
| void Dragengine.Scenery.BehaviorFactoryList.addAll | ( | BehaviorFactoryList | list | ) |
Add all factories from list.
| void Dragengine.Scenery.BehaviorFactoryList.addReplace | ( | BehaviorFactory | factory | ) |
Add factory replacing duplicate if present.
| BehaviorFactory Dragengine.Scenery.BehaviorFactoryList.find | ( | Block | ablock | ) |
Find factory using block.
Block parameter BehaviorFactory and returns true if found.
| void Dragengine.Scenery.BehaviorFactoryList.forEach | ( | Block | ablock | ) |
Visit factories using block.
Block parameter BehaviorFactory.
| int Dragengine.Scenery.BehaviorFactoryList.getCount | ( | ) |
Count of factories.
| BehaviorFactory Dragengine.Scenery.BehaviorFactoryList.getWithId | ( | String | id | ) |
Factory with identifier or null if absent.
| bool Dragengine.Scenery.BehaviorFactoryList.hasWithId | ( | String | id | ) |
Factory with identifier is present.
| BehaviorFactoryList Dragengine.Scenery.BehaviorFactoryList.new | ( | ) |
Create factory list.
| BehaviorFactoryList Dragengine.Scenery.BehaviorFactoryList.new | ( | BehaviorFactoryList | list | ) |
Create copy of factory list.
| void Dragengine.Scenery.BehaviorFactoryList.removeAll | ( | ) |
Remove all factories.
| Dictionary Dragengine.Scenery.BehaviorFactoryList.pFactories |