public SilverState(State state)
     : this(state.Balance, state.Account)
 {
 }
 public GoldState(State state)
     : this(state.Balance, state.Account)
 {
 }
Ejemplo n.º 3
0
 public RedState(State state)
 {
     this.balance = state.Balance;
     this.account = state.Account;
     Initialize();
 }
Ejemplo n.º 4
0
 public Account(string owner)
 {
     this._owner = owner;
     this._state = new SilverState(0.0, this);
 }