void Update(){ if(alive){ myLive(); } } void myLive(){ if(foodMeter < 50.0f) DoFood(); if(thirsty) GoDrink(); if(tired) DrinkCoffee(); if(interested) MakeAGame(); if(die) SayLastWord(); }
This user hasn't posted anything yet.