Class CroupierNPC

All Implemented Interfaces:
Killer, Cloneable, Iterable<String>, Serializable

public abstract class CroupierNPC extends SpeakerNPC
  • Constructor Details

    • CroupierNPC

      public CroupierNPC(String name)
  • Method Details

    • setPrizes

      public void setPrizes(Map<Integer,​Pair<String,​String>> prizes)
    • setTableArea

      public void setTableArea(Rectangle playingArea)
      Sets the playing area (a table or something like that).
      Parameters:
      playingArea - shape of the playing area (in the same zone as the NPC)
    • onThrown

      public void onThrown(Dice dice, Player player)
    • getPlayingArea

      public Area getPlayingArea()
      Access the playing area for JUnit tests.
      Returns:
      playing area