void ShrinkHelper(ActionObject item) { if (item.scale [0] > 0.5) { item.Grow(0.95f); } }
void Grow(ActionObject item, turn new_state) { item.Grow(1.05f); turnState = new_state; UpdateTime(); }
turn turnState = turn.START; // which fish should grow next? #endregion Fields #region Methods void Grow(ActionObject item, turn new_state) { item.Grow (1.05f); turnState = new_state; UpdateTime (); }
turn turnState = turn.START; // which fish should grow next? #endregion Fields #region Methods void Grow(ActionObject item, turn new_state) { music.PlayFeedback (music.pos); item.Grow (1.05f); turnState = new_state; UpdateTime (); }
void ShrinkHelper(ActionObject item) { if (item.scale [0] > 0.5) { item.Grow (0.95f); } }