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 ()
 Create element visitor. More...
void visitBaseLight (BaseLight light)
 Visit base light. More...
void visitElement (Element element)
 Visit element. More...
void visitSimpleElement (SimpleElement element)
 Visit simple element. More...
void visitTrigger (Trigger trigger)
 Visit trigger. More...
void visitTriggerShout (TriggerShout trigger)
 Visit shout trigger. More...

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: