Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.Scenery.AttachableBehaviorFactoryList Class Reference

List of attachable behavior factories. More...

Inheritance diagram for Dragengine.Scenery.AttachableBehaviorFactoryList:

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
 

Detailed Description

List of attachable behavior factories.

Version
1.29

Member Function Documentation

◆ add()

void Dragengine.Scenery.AttachableBehaviorFactoryList.add ( AttachableBehaviorFactory  factory)

Add factory.

◆ addAll()

void Dragengine.Scenery.AttachableBehaviorFactoryList.addAll ( AttachableBehaviorFactoryList  list)

Add all factories from list.

◆ addReplace()

void Dragengine.Scenery.AttachableBehaviorFactoryList.addReplace ( AttachableBehaviorFactory  factory)

Add factory replacing duplicate if present.

◆ find()

AttachableBehaviorFactory Dragengine.Scenery.AttachableBehaviorFactoryList.find ( Block  ablock)

Find factory using block.

Block parameter AttachableBehaviorFactory and returns true if found.

◆ forEach()

void Dragengine.Scenery.AttachableBehaviorFactoryList.forEach ( Block  ablock)

Visit factories using block.

Block parameter AttachableBehaviorFactory.

◆ getCount()

int Dragengine.Scenery.AttachableBehaviorFactoryList.getCount ( )

Count of factories.

◆ getWithId()

AttachableBehaviorFactory Dragengine.Scenery.AttachableBehaviorFactoryList.getWithId ( String  id)

Factory with identifier or null if absent.

◆ hasWithId()

bool Dragengine.Scenery.AttachableBehaviorFactoryList.hasWithId ( String  id)

Factory with identifier is present.

◆ new() [1/2]

AttachableBehaviorFactoryList Dragengine.Scenery.AttachableBehaviorFactoryList.new ( )

Create factory list.

◆ new() [2/2]

AttachableBehaviorFactoryList Dragengine.Scenery.AttachableBehaviorFactoryList.new ( AttachableBehaviorFactoryList  list)

Create copy of factory list.

◆ removeAll()

void Dragengine.Scenery.AttachableBehaviorFactoryList.removeAll ( )

Remove all factories.

Member Data Documentation

◆ pFactories

Dictionary Dragengine.Scenery.AttachableBehaviorFactoryList.pFactories

The documentation for this class was generated from the following file: