public VIPState(ClubState state) : this(state.Balance, state.Account) { Balance = state.Balance; }
public VisitorState(ClubState state) : this(state.Balance, state.Account) //调用本类的构造函数 { }
//调用本类的构造函数 public VisitorState(ClubState state) : this(state.Balance, state.Account) { }
public MemberState(ClubState state) : this(state.Balance, state.Account) //调用本类的构造函数 { Balance = state.Balance; Initialize(); }
//调用本类的构造函数 public MemberState(ClubState state) : this(state.Balance, state.Account) { Balance = state.Balance; Initialize(); }