#include <TacticEntry.h>
Public Member Functions | |
TacticEntry () | |
Constructor. | |
TacticEntry (int folEntCount) | |
Constructor. | |
~TacticEntry () | |
Destructor. | |
void | setFollowingEntryCount (int count) |
Public Attributes | |
int | neededOptions [Player::numOfPlayerNumbers] |
.An Array with up to 4 options that are needed for one entry | |
bool | allowedDogs [Player::numOfPlayerNumbers][Player::numOfPlayerNumbers] |
.Which dogs are allowed to do this option ? This is basically a flag array. | |
bool | isOptionClass [Player::numOfPlayerNumbers] |
.is one Option a option-class ?? .. | |
double | weight |
.The TacticEntry itself needs a weight | |
double | optionWeights [Player::numOfPlayerNumbers] |
.Each option needs one weight. | |
double | maxVal |
.What ist the maximum value this TacticEntry can reach This data can be uses to skip TacticEntrys while searching the best matching TacticEntry. | |
int | followingEntryCount |
How many followingEntrys are there ? | |
int * | followingEntrys |
Which TacticEntrys should be preferred after choosing this TacticEntry ? | |
double * | followingEntryWeights |
How would you like to weight your preferred followingEntrys ? . | |
RateableOptions::TacticEntryTypeID | globalAnalysersInfo [RateableOptions::numOfGlobalAnalysers] |
Information for GlobalAnalysers. | |
char | name [50] |
name of the TacticEntry |
Definition at line 19 of file TacticEntry.h.
|
Constructor.
Definition at line 13 of file TacticEntry.cpp. References followingEntryCount. |
|
Constructor.
Definition at line 19 of file TacticEntry.cpp. References followingEntryCount, followingEntrys, and followingEntryWeights. |
|
Destructor.
Definition at line 29 of file TacticEntry.cpp. References followingEntryCount, followingEntrys, and followingEntryWeights. |
|
Definition at line 37 of file TacticEntry.cpp. References followingEntryCount, followingEntrys, and followingEntryWeights. |
|
.An Array with up to 4 options that are needed for one entry
Definition at line 35 of file TacticEntry.h. Referenced by DefaultTacticChooser::chooseOption(), operator<<(), and operator>>(). |
|
.Which dogs are allowed to do this option ? This is basically a flag array. eg: 01111 means that all dogs are allowed 01110 means that dog #1 is not allowed for this option. So ( (allowedDogs[dognum] & (1 << dognum)) > 0 ) should be TRUE if Dog #dognum is allowed for option neededOptions[dognum]. But have a look in Player.h. If the playerNumber-enum changes, this test may cause trouble. forget about this shifting-stuff .. an array of bool does the same, but without all this enum-trusting ;) use: allowedDogs[#dog][#option] Definition at line 51 of file TacticEntry.h. Referenced by DefaultTacticChooser::chooseOption(), operator<<(), and operator>>(). |
|
.is one Option a option-class ?? .. we dont need this yet, but we will be happy to have this *g* Definition at line 58 of file TacticEntry.h. Referenced by DefaultTacticChooser::chooseOption(), and operator>>(). |
|
.The TacticEntry itself needs a weight
Definition at line 63 of file TacticEntry.h. Referenced by DefaultTacticChooser::chooseOption(), operator<<(), and operator>>(). |
|
.Each option needs one weight. So here they are Definition at line 69 of file TacticEntry.h. Referenced by DefaultTacticChooser::chooseOption(), operator<<(), and operator>>(). |
|
.What ist the maximum value this TacticEntry can reach This data can be uses to skip TacticEntrys while searching the best matching TacticEntry.
Definition at line 77 of file TacticEntry.h. Referenced by operator<<(), and operator>>(). |
|
How many followingEntrys are there ?
Definition at line 82 of file TacticEntry.h. Referenced by operator<<(), operator>>(), setFollowingEntryCount(), TacticEntry(), and ~TacticEntry(). |
|
Which TacticEntrys should be preferred after choosing this TacticEntry ?
Definition at line 87 of file TacticEntry.h. Referenced by operator<<(), operator>>(), setFollowingEntryCount(), TacticEntry(), and ~TacticEntry(). |
|
How would you like to weight your preferred followingEntrys ? .
Definition at line 92 of file TacticEntry.h. Referenced by operator<<(), operator>>(), setFollowingEntryCount(), TacticEntry(), and ~TacticEntry(). |
|
Information for GlobalAnalysers. Each Analyser can store an integer here to identify the Class of TacticEntry, e.g. is an offensive TacticEntry.. Definition at line 98 of file TacticEntry.h. Referenced by DefaultTacticChooser::chooseOption(), operator<<(), and operator>>(). |
|
name of the TacticEntry
Definition at line 106 of file TacticEntry.h. Referenced by DefaultTacticChooser::chooseOption(), operator<<(), and operator>>(). |