Class DealerGameRoundPlayerPlan


  • public class DealerGameRoundPlayerPlan
    extends Plan
    Play a game round with the given player.
    • Field Detail

      • timeout

        protected long timeout
        The timout for communication with the player.
      • player

        protected Player player
        The player object.
    • Constructor Detail

      • DealerGameRoundPlayerPlan

        public DealerGameRoundPlayerPlan()
    • Method Detail

      • body

        public void body()
        Plan body.
        Specified by:
        body in class Plan
      • failed

        public void failed()
        Something went wrong. Remove player from beliefs.
        Overrides:
        failed in class Plan
      • passed

        public void passed()
        Game complete, reset player.
        Overrides:
        passed in class Plan
      • aborted

        public void aborted()
        Aborted, reset player.
        Overrides:
        aborted in class Plan
      • drawCard

        protected void drawCard()
        Draw a card for the player.