#include <AgentLivestockUnit.h>
Collaboration diagram for livestck:
Public Member Functions | |
livestck (int hID, int scID, int pID, int type, int age) | |
virtual | ~livestck () |
void | setNextPtr_M (livestck *) |
livestck * | getNext_M () |
void | setPrevPtr_M (livestck *) |
livestck * | getPrev_M () |
virtual int | getHhID () |
virtual int | getScID () |
virtual int | getPID () |
virtual int | getAge () |
virtual void | increaseAge () |
virtual int | getType () |
virtual void | printToScreen () |
Public Attributes | |
livestck * | nextLivestck |
livestck * | prevLivestck |
Protected Attributes | |
int | hhID |
int | scID |
int | pID |
int | age |
int | type |
int ** | health |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|