private void OnChooseSystemCompleted(PvZChooseSystem chooseSys) { var growList = chooseSys.MakeGrowList(this.gameGrow); this.uiControlManager.Add(growList); chooseSys.RemoveAll(); PvZGrowButton shovel = this.growSystem.ButtonFactoryBank["Shovel"].CreateButton(this.Game); shovel.Canvas.Bound.Position = new Vector2(480, growList.Canvas.Bound.Top); shovel.Canvas.Bound.Size = new Vector2(52, 56); state = PlayState.RUNNING; _messageCenter.PushMessage(level.Name); }
private void OnChooseSystemCompleted(PvZChooseSystem chooseSys) { var growList = chooseSys.MakeGrowList(); this.uiControlManager.Add(growList); chooseSys.RemoveAll(); }