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 intgetDifference()return the time differenceintgetTimer()return the timevoidsetDifference(int difference)set the time differencevoidsetTimer(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 
 -