Class FinedTimedTask

  • All Implemented Interfaces:
    java.lang.Runnable

    public class FinedTimedTask
    extends ch.sahits.game.openpatrician.model.event.TimedTask
    Timed task for getting fined. Created by andi on 25.03.17.
    • Constructor Summary

      Constructors 
      Constructor Description
      FinedTimedTask​(ch.sahits.game.openpatrician.model.IHumanPlayer player, int fine, java.lang.String messageKey, java.time.LocalDateTime deadline)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      java.lang.String toString()  
      • Methods inherited from class ch.sahits.game.openpatrician.model.event.TimedTask

        canEqual, equals, getExecutionTime, getUuid, hashCode, setExecutionTime
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FinedTimedTask

        public FinedTimedTask​(ch.sahits.game.openpatrician.model.IHumanPlayer player,
                              int fine,
                              java.lang.String messageKey,
                              java.time.LocalDateTime deadline)
    • Method Detail

      • run

        public void run()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object