Frame of Reference Game API  1.0.3
Properties | List of all members
FrameOfReference.World.Templates.TerrainTemplate Class Reference

Defines a type of terrain (texture, effects on units, etc.). More...

Inheritance diagram for FrameOfReference.World.Templates.TerrainTemplate:
AlphaFramework.World.Templates.Template< TerrainTemplate > NanoByte::Common::Controls::IHighlightColor NanoByte::Common::ICloneable< T >

Properties

string Texture [get, set]
 The filename of the ground texture. More...
 
Color Color [get, set]
 The mini-map color for this terrain type. Should be unique. More...
 
XColor ColorValue [get, set]
 Used for XML serialization. More...
 
float MovementAbility [get, set]
 How good can units walk on this ground? 0=not at all; 1=with full speed More...
 
- Properties inherited from AlphaFramework.World.Templates.Template< TerrainTemplate >
string Name
 
Color HighlightColor
 
string Description
 
static NamedCollection< TSelf > All
 
- Properties inherited from NanoByte::Common::Controls::IHighlightColor
Color HighlightColor
 

Additional Inherited Members

- Public Member Functions inherited from AlphaFramework.World.Templates.Template< TerrainTemplate >
override string ToString ()
 
virtual TSelf Clone ()
 
- Static Public Member Functions inherited from AlphaFramework.World.Templates.Template< TerrainTemplate >
static void LoadAll ()
 
- Static Public Attributes inherited from AlphaFramework.World.Templates.Template< TerrainTemplate >
static string FileName
 

Detailed Description

Defines a type of terrain (texture, effects on units, etc.).

Property Documentation

◆ Color

Color FrameOfReference.World.Templates.TerrainTemplate.Color
getset

The mini-map color for this terrain type. Should be unique.

Is not serialized/stored, ColorValue is used for that.

◆ ColorValue

XColor FrameOfReference.World.Templates.TerrainTemplate.ColorValue
getset

Used for XML serialization.

See also
Color

◆ MovementAbility

float FrameOfReference.World.Templates.TerrainTemplate.MovementAbility
getset

How good can units walk on this ground? 0=not at all; 1=with full speed

◆ Texture

string FrameOfReference.World.Templates.TerrainTemplate.Texture
getset

The filename of the ground texture.


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