public void SetModel(Universe model) { _model = model; this.Dimensions = new Dimensions(model.UNIVERSE_SIZE_X, model.UNIVERSE_SIZE_Y); UpdateScreen(); }
protected void UpdateDimensions() { _model = new Universe(this.Dimensions); DrawGrid(); DrawModel(); }