Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.IgnoreElementClass Class Reference

Ignore element class. More...

Inheritance diagram for Dragengine.Scenery.IgnoreElementClass:
Dragengine.Scenery.ElementClass Dragengine.ResourceListener

Public Member Functions

void createAndAddElement (StubElement stub, GameWorld gameWorld)
 Element class is ignored. More...
 
Element createElement (StubElement stub)
 Element class is ignored. More...
 
ElementClass duplicateNamed (String classname)
 No XML subclassing supported. More...
 
void loadAndAddElement (PersistencyEnvironment env, StubElement stub, FileReader reader, GameWorld gameWorld)
 Element class can not be persisted. More...
 
Element loadElement (PersistencyEnvironment env, StubElement stub, FileReader reader)
 Element class can not be persisted. More...
 
IgnoreElementClass new (String classname)
 Create element class. More...
 
- Public Member Functions inherited from Dragengine.Scenery.ElementClass
void addProperty (ElementClassProperty property)
 Add property. More...
 
void copyPropertyValues (ElementClass eclass)
 Copy values of properties from another class to properties of this class. More...
 
void dispose ()
 Dispose of element class. More...
 
bool equals (Object obj)
 Element class is equal to another object. More...
 
void failedLoading (String path, ResourceLoaderType resourceType)
 Resource failed loading. More...
 
void finishedLoading (String path, ResourceLoaderType resourceType, Object resource)
 Resource finished loading successfully. More...
 
void forEachProperty (Block ablock)
 Visit properties with block with parameter ElementClass. More...
 
String getBasePath ()
 Base path for relative loading of resource properties. More...
 
CodecPropertyString getCodecPropertyString ()
 Property codec helper. More...
 
bool getIsXmlElementClass ()
 Element class is an XML element class. More...
 
bool getPersistable ()
 Element class is persistable to file writers. More...
 
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...
 
TSTriggerExpressionParser getTriggerExpressionParser ()
 Trigger expression parser. More...
 
int hashCode ()
 Hash code. More...
 
bool hasPropertyNamed (String name)
 Named property is present. More...
 
Object injectProperty (Object injectValue, Block ablock)
 Process value visiting properties. More...
 
void removeAllProperties ()
 Remove all properties. More...
 
void removeProperty (ElementClassProperty property)
 Remove property. More...
 
void setBasePath (String path)
 Set base path for relative loading of resource properties. More...
 
void setIsXmlElementClass (bool isXmlElementClass)
 Set if element class is an XML element class. More...
 
void setPersistable (bool persistable)
 Set element class is persistable to file writers. More...
 
void setPropertyValue (String name, Object value)
 Set value of named property. More...
 
Notification

Protected Member Functions

Element createElement ()
 Element class is ignored. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Dragengine.Scenery.ElementClass
static CodecPropertyString getSharedCodecPropertyString ()
 Shared property codec helper. More...
 
static TSTriggerExpressionParser getSharedTriggerExpressionParser ()
 Shared trigger expression parser. More...
 
static void setSharedCodecPropertyString (CodecPropertyString codec)
 Set shared property codec helper. More...
 
static void setSharedTriggerExpressionParser (TSTriggerExpressionParser parser)
 Set shared trigger expression parser. More...
 

Detailed Description

Ignore element class.

Can be used for element classes used only during development which should be ignored while loading a production game world. If used this element class does nothing at all.

Member Function Documentation

◆ createAndAddElement()

void Dragengine.Scenery.IgnoreElementClass.createAndAddElement ( StubElement  stub,
GameWorld  gameWorld 
)

Element class is ignored.

Reimplemented from Dragengine.Scenery.ElementClass.

◆ createElement() [1/2]

Element Dragengine.Scenery.IgnoreElementClass.createElement ( )
protected

Element class is ignored.

Reimplemented from Dragengine.Scenery.ElementClass.

◆ createElement() [2/2]

Element Dragengine.Scenery.IgnoreElementClass.createElement ( StubElement  stub)

Element class is ignored.

Reimplemented from Dragengine.Scenery.ElementClass.

◆ duplicateNamed()

ElementClass Dragengine.Scenery.IgnoreElementClass.duplicateNamed ( String  classname)

No XML subclassing supported.

Reimplemented from Dragengine.Scenery.ElementClass.

◆ loadAndAddElement()

void Dragengine.Scenery.IgnoreElementClass.loadAndAddElement ( PersistencyEnvironment  env,
StubElement  stub,
FileReader  reader,
GameWorld  gameWorld 
)

Element class can not be persisted.

Reimplemented from Dragengine.Scenery.ElementClass.

◆ loadElement()

Element Dragengine.Scenery.IgnoreElementClass.loadElement ( PersistencyEnvironment  env,
StubElement  stub,
FileReader  reader 
)

Element class can not be persisted.

Reimplemented from Dragengine.Scenery.ElementClass.

◆ new()

IgnoreElementClass Dragengine.Scenery.IgnoreElementClass.new ( String  classname)

Create element class.

Reimplemented from Dragengine.Scenery.ElementClass.


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