Class PostStateDialogToHumanPlayerTask

  • All Implemented Interfaces:
    java.lang.Runnable

    public class PostStateDialogToHumanPlayerTask
    extends TimedTask
    Timed task to post a dialog through a state
    Author:
    Andi Hotz, (c) Sahits GmbH, 2018 Created on Feb 03, 2018
    • Field Detail

      • player

        private final IPlayer player
      • messageKey

        private final java.lang.String messageKey
      • messageParams

        private final java.lang.Object[] messageParams
      • clientServerEventBus

        @Autowired
        @Qualifier("serverClientEventBus")
        private com.google.common.eventbus.AsyncEventBus clientServerEventBus
    • Constructor Detail

      • PostStateDialogToHumanPlayerTask

        public PostStateDialogToHumanPlayerTask​(java.time.LocalDateTime executionTime,
                                                EMessageCategory category,
                                                IDialogState state,
                                                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