Drag[en]gine Script Module DragonScript Script API  1.0
CollectElementsVisitor Class Reference

Collects all elements visited into an array. More...

Inheritance diagram for CollectElementsVisitor:

Public Member Functions

void clear ()
 Clear elements. More...
void forEach (Block ablock)
 Visit collected elements with a block. More...
Element getAt (int index)
 Element at index. More...
int getCount ()
 Number of elements. More...
CollectElementsVisitor new ()
 Creates visitor. More...
- Public Member Functions inherited from ElementVisitor
ElementVisitor new ()
void visitElement (Element element)
void visitLight (BaseLight light)
void visitLightPoint (LightPoint light)
void visitLightSpot (LightSpot light)
void visitSimpleElement (SimpleElement element)
void visitTrigger (Trigger trigger)
void visitTriggerArea (TriggerArea trigger)
void visitTriggerCounter (TriggerCounter trigger)
void visitTriggerShout (TriggerShout trigger)
void visitTriggerTarget (TriggerTarget trigger)

Detailed Description

Collects all elements visited into an array.

Roland Pl├╝ss

Member Function Documentation

§ clear()

void clear ( )

Clear elements.

§ forEach()

void forEach ( Block  ablock)

Visit collected elements with a block.

§ getAt()

Element getAt ( int  index)

Element at index.

§ getCount()

int getCount ( )

Number of elements.

§ new()

Creates visitor.

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