Searched refs:foodState (Results 1 – 2 of 2) sorted by relevance
69 int foodState = mPrefs.getFoodState(); in updateState() local70 Food food = new Food(foodState); in updateState()71 if (foodState != 0) { in updateState()76 tile.setState(foodState != 0 ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE); in updateState()
71 public void setFoodState(int foodState) { in setFoodState() argument72 mPrefs.edit().putInt(FOOD_STATE, foodState).apply(); in setFoodState()