Class MyTimer

java.lang.Object
model.logic.server.MyTimer
All Implemented Interfaces:
Serializable

public class MyTimer extends Object implements Serializable
See Also:
  • Constructor Details

    • MyTimer

      public MyTimer(Timer timer)
      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

      public Timer getTimer()
      The getTimer function returns the timer object.
      Returns:
      The timer object