Advanced Strategic Command
Public Member Functions | Public Attributes | List of all members
AI::MoveVariant Class Reference

#include <ai.h>

Public Member Functions

bool operator< (const MoveVariant &a) const
 
bool operator> (const MoveVariant &a) const
 

Public Attributes

int orgDamage
 
int damageAfterMove
 
int damageAfterAttack
 
MapCoordinate3D movePos
 
int attackx
 
int attacky
 
Vehicleenemy
 
Vehicleattacker
 
int enemyOrgDamage
 
int enemyDamage
 
int weapNum
 
float result
 
int moveDist
 
bool neighbouringFieldsReachable [sidenum]
 
float positionThreat
 

Detailed Description

Definition at line 280 of file ai.h.

Member Function Documentation

bool AI::MoveVariant::operator< ( const MoveVariant a) const

Definition at line 155 of file tactics.cpp.

References moveDist, positionThreat, and result.

bool AI::MoveVariant::operator> ( const MoveVariant a) const

Definition at line 147 of file tactics.cpp.

References moveDist, positionThreat, and result.

Member Data Documentation

Vehicle* AI::MoveVariant::attacker

Definition at line 288 of file ai.h.

int AI::MoveVariant::attackx

Definition at line 286 of file ai.h.

int AI::MoveVariant::attacky

Definition at line 286 of file ai.h.

int AI::MoveVariant::damageAfterAttack

Definition at line 284 of file ai.h.

int AI::MoveVariant::damageAfterMove

Definition at line 283 of file ai.h.

Vehicle* AI::MoveVariant::enemy

Definition at line 287 of file ai.h.

int AI::MoveVariant::enemyDamage

Definition at line 290 of file ai.h.

int AI::MoveVariant::enemyOrgDamage

Definition at line 289 of file ai.h.

int AI::MoveVariant::moveDist

Definition at line 293 of file ai.h.

Referenced by operator<(), and operator>().

MapCoordinate3D AI::MoveVariant::movePos

Definition at line 285 of file ai.h.

bool AI::MoveVariant::neighbouringFieldsReachable[sidenum]

Definition at line 294 of file ai.h.

int AI::MoveVariant::orgDamage

Definition at line 282 of file ai.h.

float AI::MoveVariant::positionThreat

Definition at line 295 of file ai.h.

Referenced by operator<(), and operator>().

float AI::MoveVariant::result

Definition at line 292 of file ai.h.

Referenced by operator<(), and operator>().

int AI::MoveVariant::weapNum

Definition at line 291 of file ai.h.


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