java.lang.Object
model.logic.server.MyTimer
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MyTimer
The MyTimer function is a constructor that takes in a Timer object and sets the timer variable to it.- Parameters:
timer- timer Pass in the timer object that is created in the main method
-
-
Method Details
-
getTimer
The getTimer function returns the timer object.- Returns:
- The timer object
-