|
Drag[en]gine Script Module DragonScript 1.35
|
Interface for factories supporting creating game world behaviors. More...
Public Member Functions | |
| GWBehavior | addBehavior (GameWorld gameWorld, String id) |
| Add behavior to game world. | |
| String | factoryId () |
| Unique identifier of factory. | |
Interface for factories supporting creating game world behaviors.
| GWBehavior Dragengine.Scenery.GWBehaviorFactory.addBehavior | ( | GameWorld | gameWorld, |
| String | id ) |
Add behavior to game world.
| gameWorld | Game world to add behavior to. |
| id | Identifier to use. Has to be unique amongst same type behaviors. |
Referenced by factoryId().
| String Dragengine.Scenery.GWBehaviorFactory.factoryId | ( | ) |
Unique identifier of factory.
Should be the class name of the behavior. Factory identifiers are case sensitive.
Implemented in Dragengine.Scenery.DefaultGWBehaviorFactory.
References addBehavior(), and factoryId().
Referenced by factoryId().