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