/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click


/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */
package poker;

import java.util.ArrayList;

/**
 *
 * @author adamt
 */

public class Player {

    private int money;
    private int wager;
    private Hand hand;

public Player(){
money=1000;
wager=0;
hand=new Hand();
}

public Hand getHand(){
return hand;
}

public void setWager(int i){
wager=i;

}

public int getWager(){
return wager;

}

public int moneyGained(int i){
    money+=i;
    return money;
}

public int moneyLost(int i){
    money-=i;
    return money;
}

public int getMoney(){
return money;

}

Table of Contents

Calculate your order
Pages (275 words)
Standard price: $0.00

Latest Reviews

Impressed with the sample above? Wait there is more

Related Questions

Wealthy Inequality in America

 Instructions: Use your sociological imagination to explain the prevalence of poverty among certain racial and ethnic groups. Based on your explanation(s), what steps do you

401k Guide

Thoughts (need research and rewrites for it to makes sense ): One of the popular questions about 401k has been: “Am I better off using

New questions

Don't Let Questions or Concerns Hold You Back - Make a Free Inquiry Now!