Frame of Reference Game API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
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:

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...
 

Detailed Description

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

Property Documentation

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.

XColor FrameOfReference.World.Templates.TerrainTemplate.ColorValue
getset

Used for XML serialization.

See Also
Color
float FrameOfReference.World.Templates.TerrainTemplate.MovementAbility
getset

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

string FrameOfReference.World.Templates.TerrainTemplate.Texture
getset

The filename of the ground texture.


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