Drag[en]gine Script Module DragonScript Script API  1.0
TriggerShoutClass Class Reference
Inheritance diagram for TriggerShoutClass:
ElementClass ResourceNotifier

Public Member Functions

Element createElement (StubElement stub)
 
Console getConsole ()
 
Element loadElement (FileReader reader)
 
TriggerShoutClass new (Console console)
 
- Public Member Functions inherited from ElementClass
void addDependencies (PreloadManager preloadManager)
 
void addProperty (ElementClassProperty property)
 Add property. More...
 
void createAndAddElement (StubElement stub, GameWorld gameWorld)
 
Element createElement (StubElement stub)
 
void dispose ()
 
ElementClass duplicateNamed (String classname)
 
bool equals (Object obj)
 
void failedLoading (String path, int resourceType)
 
void finishedLoading (String path, int resourceType, Object resource)
 
void forEachProperty (Block ablock)
 Visit properties with block with parameter ElementClass. More...
 
String getClassname ()
 
bool getLoadIfNetGameClient ()
 
int getPropertyCount ()
 Number of properties. More...
 
ElementClassProperty getPropertyNamed (String name)
 Named property or null if absent. More...
 
Array getPropertyNames ()
 List of property names as array of strings. More...
 
int hashCode ()
 
bool hasPropertyNamed (String name)
 Named property is present. More...
 
void loadAndAddElement (FileReader reader, GameWorld gameWorld)
 
Element loadElement (FileReader reader)
 
ElementClass new (String className)
 
void preloadResources ()
 
void setLoadIfNetGameClient (bool loadIfNetGameClient)
 
Notification

Detailed Description

Trigger that shouts a message to the console if fired

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ createElement()

Element createElement ( StubElement  stub)

Creates an element from the given stub and returns it. If this class does not support creating elements ( because for example since the result is not an element ) null is returned.

§ getConsole()

Console getConsole ( )

Retrieves the console.

§ loadElement()

Element loadElement ( FileReader  reader)

Loads an element using a file reader and returns it. If this class does not support loading elements (because for example the result is not an element) null has to be returned.

§ new()

TriggerShoutClass new ( Console  console)

Creates a new TriggerShoutClass object.


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