ALMaSS Rabbit ODdox  1.00
The rabbit model description following ODdox protocol
Public Member Functions | Public Attributes | List of all members
HunterInfo Class Reference

A data structure to hold hunter information for distribution. More...

#include <farm.h>

Public Member Functions

 ~HunterInfo ()
 

Public Attributes

int refID
 Unique reference number. More...
 
int homeX
 Hunter home x-coord. More...
 
int homeY
 Hunter home y-coord. More...
 
vector< int > FarmHuntRef
 The hunter's is the farm reference number to where he hunts. More...
 
vector< int > CheckedFarms
 A list of farms that has been tested for duplicates. More...
 

Detailed Description

A data structure to hold hunter information for distribution.

Definition at line 438 of file farm.h.

Constructor & Destructor Documentation

HunterInfo::~HunterInfo ( )
inline

Definition at line 452 of file farm.h.

452  {
453  FarmHuntRef.resize( 0 );
454  CheckedFarms.resize( 0 );
455  }
vector< int > FarmHuntRef
The hunter&#39;s is the farm reference number to where he hunts.
Definition: farm.h:448
vector< int > CheckedFarms
A list of farms that has been tested for duplicates.
Definition: farm.h:450

Member Data Documentation

vector<int> HunterInfo::CheckedFarms

A list of farms that has been tested for duplicates.

Definition at line 450 of file farm.h.

vector<int> HunterInfo::FarmHuntRef

The hunter's is the farm reference number to where he hunts.

Definition at line 448 of file farm.h.

Referenced by FarmManager::IsDuplicateRef().

int HunterInfo::homeX
int HunterInfo::homeY
int HunterInfo::refID

Unique reference number.

Definition at line 442 of file farm.h.


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