public static CapBack Instance() { if (instance == null) { instance = new CapBack(); } return(instance); }
public override void capBack(Person person) { person.ChangeState(CapBack.Instance()); }
public static CapBack Instance() { if (instance == null) { instance = new CapBack(); } return(instance); }
public override void capBack(Person person) { person.ChangeState(CapBack.Instance()); }