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

Public Member Functions

Component createComponent ()
String getDescription ()
Model getModel ()
String getName ()
Skin getSkin ()
ElementTheme new (String name, String desc, Model model, Skin skin)

Detailed Description

Describes a theme for an element. Element themes are often used in element class objects to keep an array of possible skin or model variations for an element.

Roland Pl├╝ss

Member Function Documentation

◆ createComponent()

Component createComponent ( )

Creates a component from this theme.

◆ getDescription()

String getDescription ( )

Retrieves the description of the element theme.

◆ getModel()

Model getModel ( )

Retrieves the model of the element theme.

◆ getName()

String getName ( )

Retrieves the name of the element theme.

◆ getSkin()

Skin getSkin ( )

Retrieves the skin of the element theme.

◆ new()

ElementTheme new ( String  name,
String  desc,
Model  model,
Skin  skin 

Creates a new ElementTheme object.

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