Class Play


  • @Entity
    public class Play
    extends java.lang.Object
    • Constructor Detail

      • Play

        public Play()
    • Method Detail

      • getId

        public int getId()
      • setId

        public void setId​(int id)
      • getPlayer

        @NonNull
        public Player getPlayer()
      • setPlayer

        public void setPlayer​(@NonNull
                              Player player)
      • getTurn

        @NonNull
        public Turn getTurn()
      • setTurn

        public void setTurn​(@NonNull
                            Turn turn)
      • getGame

        @NonNull
        public Game getGame()
      • setGame

        public void setGame​(@NonNull
                            Game game)
      • getCard

        public Card getCard()
      • setCard

        public void setCard​(Card card)
      • setType

        public void setType​(Play.Type type)