public frmTanks() { InitializeComponent(); entities = new EntitiesList(); tanksModel = new TanksModel(entities, startInfo); tanksControl = new TanksControl(tanksModel); tanksControl.NewGame(startInfo); ctlTime.Enabled = true; GameOver = false; Score = 0; DrawTanks(); }
public TanksControl(TanksModel tanksModel) { this.tanksModel = tanksModel; }