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