Class CountWaterSystem
java.lang.Object
com.deco2800.game.components.foodAndwater.CountWaterSystem
public class CountWaterSystem
extends java.lang.Object
this class handles the water update
-
Constructor Summary
Constructors Constructor Description CountWaterSystem()
-
Method Summary
Modifier and Type Method Description int
getDifference()
return the time differenceint
getTimer()
return the timevoid
setDifference(int difference)
set the time differencevoid
setTimer(int value)
set a time
-
Constructor Details
-
CountWaterSystem
public CountWaterSystem()
-
-
Method Details
-
setTimer
public void setTimer(int value)set a time- Parameters:
value
- a integer
-
setDifference
public void setDifference(int difference)set the time difference- Parameters:
difference
- a integer
-
getTimer
public int getTimer()return the time -
getDifference
public int getDifference()return the time difference
-