Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CombatActionReq Class Reference

#include <CombatAction.h>

List of all members.

Public Types

enum  COMPARISON_OPERATOR {
  LT, LE, GT, GE,
  EQ, RLT, RLE, RGT,
  RGE, REQ
}

Public Member Functions

 CombatActionReq (int a, int s, bool n=false)
 CombatActionReq (Combatant *a1, Combatant *a2, int comparison, int value)
 CombatActionReq (Combatant *a1, int gtype, int gid, int comparison, int value, int intel_level=0)

Static Public Member Functions

static const char * TYPENAME ()
static int CompFromName (const char *sym)

Public Attributes

int action
int stat
bool not
Combatantc1
Combatantc2
int comp
int score
int intel
int group_type
int group_id

Detailed Description

Definition at line 169 of file CombatAction.h.


Member Enumeration Documentation

Enumerator:
LT 
LE 
GT 
GE 
EQ 
RLT 
RLE 
RGT 
RGE 
REQ 

Definition at line 173 of file CombatAction.h.


Constructor & Destructor Documentation

CombatActionReq::CombatActionReq ( int  a,
int  s,
bool  n = false 
)
inline

Definition at line 178 of file CombatAction.h.

CombatActionReq::CombatActionReq ( Combatant a1,
Combatant a2,
int  comparison,
int  value 
)
inline

Definition at line 181 of file CombatAction.h.

CombatActionReq::CombatActionReq ( Combatant a1,
int  gtype,
int  gid,
int  comparison,
int  value,
int  intel_level = 0 
)
inline

Definition at line 185 of file CombatAction.h.


Member Function Documentation

int CombatActionReq::CompFromName ( const char *  sym)
static

Definition at line 317 of file CombatAction.cpp.

static const char* CombatActionReq::TYPENAME ( )
inlinestatic

Definition at line 171 of file CombatAction.h.


Member Data Documentation

int CombatActionReq::action

Definition at line 191 of file CombatAction.h.

Combatant* CombatActionReq::c1

Definition at line 195 of file CombatAction.h.

Combatant* CombatActionReq::c2

Definition at line 196 of file CombatAction.h.

int CombatActionReq::comp

Definition at line 197 of file CombatAction.h.

int CombatActionReq::group_id

Definition at line 201 of file CombatAction.h.

int CombatActionReq::group_type

Definition at line 200 of file CombatAction.h.

int CombatActionReq::intel

Definition at line 199 of file CombatAction.h.

bool CombatActionReq::not

Definition at line 193 of file CombatAction.h.

int CombatActionReq::score

Definition at line 198 of file CombatAction.h.

int CombatActionReq::stat

Definition at line 192 of file CombatAction.h.


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