public static AliveState CreateInstance() { if (uniqueInstance == null) { uniqueInstance = new AliveState(); } return(uniqueInstance); }
public override CellState Live() { return(AliveState.CreateInstance()); }