VehicleType::HeightChangeMethod Class Reference

#include <vehicletype.h>

List of all members.

Public Member Functions

void runTextIO (PropertyContainer &pc)
void read (tnstream &stream)
void write (tnstream &stream) const

Public Attributes

int startHeight
int heightDelta
int moveCost
bool canAttack
int dist


Detailed Description

Definition at line 280 of file vehicletype.h.


Member Function Documentation

void VehicleType::HeightChangeMethod::runTextIO ( PropertyContainer pc  ) 

Definition at line 1284 of file vehicletype.cpp.

References PropertyContainer::addBool(), PropertyContainer::addInteger(), PropertyContainer::addTagInteger(), canAttack, choehenstufennum, dist, heightDelta, heightTags, moveCost, and startHeight.

void VehicleType::HeightChangeMethod::read ( tnstream stream  ) 

Definition at line 1298 of file vehicletype.cpp.

References canAttack, dist, heightDelta, moveCost, tnstream::readInt(), startHeight, strrr(), and vehicleHeightChangeMethodVersion.

void VehicleType::HeightChangeMethod::write ( tnstream stream  )  const

Definition at line 1313 of file vehicletype.cpp.

References canAttack, dist, heightDelta, moveCost, startHeight, vehicleHeightChangeMethodVersion, and tnstream::writeInt().


Member Data Documentation

int VehicleType::HeightChangeMethod::startHeight

Definition at line 282 of file vehicletype.h.

Referenced by read(), runTextIO(), and write().

int VehicleType::HeightChangeMethod::heightDelta

Definition at line 283 of file vehicletype.h.

Referenced by read(), runTextIO(), MoveUnitCommand::searchFields(), and write().

int VehicleType::HeightChangeMethod::moveCost

Definition at line 284 of file vehicletype.h.

Referenced by calcMoveMalus(), read(), runTextIO(), and write().

bool VehicleType::HeightChangeMethod::canAttack

Definition at line 285 of file vehicletype.h.

Referenced by calcMoveMalus(), read(), runTextIO(), and write().

int VehicleType::HeightChangeMethod::dist

Definition at line 286 of file vehicletype.h.

Referenced by calcMoveMalus(), read(), runTextIO(), and write().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:48:06 2012 for Advanced Strategic Command by  doxygen 1.5.1