Class PostStateDialogToHumanPlayerTask

  • All Implemented Interfaces:
    java.lang.Runnable

    public class PostStateDialogToHumanPlayerTask
    extends ch.sahits.game.openpatrician.model.event.TimedTask
    Timed task to post a dialog through a state
    Author:
    Andi Hotz, (c) Sahits GmbH, 2018 Created on Feb 03, 2018
    • Constructor Summary

      Constructors 
      Constructor Description
      PostStateDialogToHumanPlayerTask​(java.time.LocalDateTime executionTime, ch.sahits.game.openpatrician.model.EMessageCategory category, ch.sahits.game.openpatrician.model.ui.IDialogState state, ch.sahits.game.openpatrician.model.IPlayer player, java.lang.String messageKey, java.lang.Object[] messageParams)  
    • 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

      • PostStateDialogToHumanPlayerTask

        public PostStateDialogToHumanPlayerTask​(java.time.LocalDateTime executionTime,
                                                ch.sahits.game.openpatrician.model.EMessageCategory category,
                                                ch.sahits.game.openpatrician.model.ui.IDialogState state,
                                                ch.sahits.game.openpatrician.model.IPlayer player,
                                                java.lang.String messageKey,
                                                java.lang.Object[] messageParams)
    • Method Detail

      • run

        public void run()
      • toString

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