Drag[en]gine Script Module DragonScript  1.23
Dragengine.Debugging.DebugElementClassInfo Class Reference

Debug element class information printer. More...

Inheritance diagram for Dragengine.Debugging.DebugElementClassInfo:

Classes

class  ConsoleOut
 Stream out to Console. More...
 
class  FileWriterOut
 Stream out to FileWriter. More...
 
interface  StreamOut
 Stream out interface. More...
 

Public Member Functions

bool getPrintBehaviors ()
 Print element class behaviors. More...
 
bool getPrintProperties ()
 Print element class properties. More...
 
DebugElementClassInfo new ()
 Create debug printer. More...
 
void print (StreamOut streamOut, ElementClass eclass)
 Print element class information. More...
 
void print (StreamOut streamOut, ElementClassList list)
 Print information for all element classes in list. More...
 
void setPrintBehaviors (bool printBehaviors)
 Set if element class behaviors are printed. More...
 
void setPrintProperties (bool printProperties)
 Set if element class properties are printed. More...
 

Detailed Description

Debug element class information printer.

Prints information about all element classes in an an ElementClassList to the Console or a FileWriter. This can be used to store a snapshot of all properties and behaviors supported by element classes. By storing this to a file this can be used as reference documentation.

Member Function Documentation

◆ getPrintBehaviors()

bool Dragengine.Debugging.DebugElementClassInfo.getPrintBehaviors ( )

Print element class behaviors.

◆ getPrintProperties()

bool Dragengine.Debugging.DebugElementClassInfo.getPrintProperties ( )

Print element class properties.

◆ new()

DebugElementClassInfo Dragengine.Debugging.DebugElementClassInfo.new ( )

Create debug printer.

◆ print() [1/2]

void Dragengine.Debugging.DebugElementClassInfo.print ( StreamOut  streamOut,
ElementClass  eclass 
)

Print element class information.

◆ print() [2/2]

void Dragengine.Debugging.DebugElementClassInfo.print ( StreamOut  streamOut,
ElementClassList  list 
)

Print information for all element classes in list.

◆ setPrintBehaviors()

void Dragengine.Debugging.DebugElementClassInfo.setPrintBehaviors ( bool  printBehaviors)

Set if element class behaviors are printed.

◆ setPrintProperties()

void Dragengine.Debugging.DebugElementClassInfo.setPrintProperties ( bool  printProperties)

Set if element class properties are printed.


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