//J-
package com.whippy.poker.common.beans;


public class ClientTable {

        private ClientSeat[] seats;
        private int id;
        private TableState state;
        private int dealerPosition;
        private int currentPot;

        public ClientTable(ClientSeat[] seats, int id, TableState state, int dealerPosition, int currentPot) {
                this.seats = seats;
                this.id = id;
                this.state = state;
                this.dealerPosition = dealerPosition;
                this.currentPot = currentPot;
        }

        public void setSeats(ClientSeat[] seats) {
                this.seats = seats;
        }

        public void setId(int id) {
                this.id = id;
        }

        public void setState(TableState state) {
                this.state = state;
        }

        public void setDealerPosition(int dealerPosition) {
                this.dealerPosition = dealerPosition;
        }

        public ClientTable(){

        }

        public ClientSeat[] getSeats() {
                return seats;
        }

        public int getId() {
                return id;
        }

        public TableState getState() {
                return state;
        }

        public int getDealerPosition() {
                return dealerPosition;
        }

}
//J+

//J-
package com.whippy.poker.common.beans;

import java.util.List;

public class ClientTable {

        private ClientSeat[] seats;
        private int id;
        private TableState state;
        private int dealerPosition;
        private int currentPot;
        private List<Card> currentCards;

        public ClientTable(ClientSeat[] seats, int id, TableState state, int dealerPosition, int currentPot, List<Card> currentCards) {
                this.seats = seats;
                this.id = id;
                this.state = state;
                this.dealerPosition = dealerPosition;
                this.setCurrentPot(currentPot);
                this.currentCards = currentCards;
        }

        public void setSeats(ClientSeat[] seats) {
                this.seats = seats;
        }

        public void setId(int id) {
                this.id = id;
        }

        public void setState(TableState state) {
                this.state = state;
        }

        public void setDealerPosition(int dealerPosition) {
                this.dealerPosition = dealerPosition;
        }

        public ClientTable(){

        }

        public ClientSeat[] getSeats() {
                return seats;
        }

        public int getId() {
                return id;
        }

        public TableState getState() {
                return state;
        }

        public int getDealerPosition() {
                return dealerPosition;
        }

        public int getCurrentPot() {
                return currentPot;
        }

        public void setCurrentPot(int currentPot) {
                this.currentPot = currentPot;
        }

        public List<Card> getCurrentCards() {
                return currentCards;
        }

        public void setCurrentCards(List<Card> currentCards) {
                this.currentCards = currentCards;
        }

}
//J+

Add current pot and cards to client table representation
Add current pot and cards to client table representation
