Advanced Strategic Command
Public Member Functions | List of all members
TerrainBits Class Reference

the properties of a terrain describing which units can move onto this field and which can't More...

#include <terraintype.h>

Inheritance diagram for TerrainBits:
Inheritance graph
[legend]

Public Member Functions

void setInt (int terrain1=0, int terrain2=0)
 
void read (tnstream &stream)
 
void write (tnstream &stream) const
 
void appendToString (ASCString &text) const
 

Detailed Description

the properties of a terrain describing which units can move onto this field and which can't

Definition at line 32 of file terraintype.h.

Member Function Documentation

void TerrainBits::appendToString ( ASCString text) const

Definition at line 104 of file terraintype.cpp.

References terrainProperty, and terrainPropertyNum.

Referenced by viewterraininfo().

void TerrainBits::read ( tnstream stream)

Definition at line 422 of file terraintype.cpp.

References tnstream::readInt().

Referenced by TerrainAccess::read(), and ObjectType::read().

void TerrainBits::setInt ( int  terrain1 = 0,
int  terrain2 = 0 
)
void TerrainBits::write ( tnstream stream) const

Definition at line 429 of file terraintype.cpp.

References tnstream::writeInt().

Referenced by TerrainAccess::write(), and ObjectType::write().


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