Example #1
0
 // Use this for initialization
 void Start()
 {
     destroyTimer = Const.DESTROY_EXPLOSION_TIMER;
     model        = new Stage(Const.WIDTH, Const.HEIGHT);
     view         = GetComponent <StageView>();
     view.Width   = Const.WIDTH;
     view.Height  = Const.HEIGHT;
     view.InitiView(model.GetField());
 }