コード例 #1
0
    public void CheckHungry()
    {
        myActions.NotHungry();

        //if the metabolism is less than the threshold then set status to hungry
        if (myProperties.getMetabolism() < Parameters.Dude_HungerThreshold)
        {
            myActions.IsHungry();
        }
    }