package zustand;

public class Card {

  public final int max_money = 5000;
  private int money;

  public Card(int initial_value) {
    money=initial_value;
  }

  public void set_money(int m) {
    if (m<=max_money) { money=m; }
  }

  public int get_money() {
    return money;
  }

}