Reference/Ability

Class Animal

function getRadius Return collision radius of animal

function getCfg Return config

function getAnimationDie Return name of animation

function die(log string, animation string ) Start dying animation and remove object from map 		log: text that has been logged 		animation: name of dying animation

function setHouse(bld Building )

function dropHouse

function getThirstMax

function isDurst

function getSatietyMax

function isHungry

function eat(satiety number, foodType string ) Increase satiety value (but no more than satiety max value) 	   satiety: value of satiety 		foodtype: name of foodType

function getName Return name

function getBaseSpeed Return base moving speed

function onBirth

function setWorkerOwn(w Worker )

function getWorkerOwn

function updateMesh

function generateAgeDie

function doGameUpdate(deltaTimeMS number )

function printDieLog(reason std::wstring, pos Vector2 )