Slot[] slots; // Array of slots #endregion Fields #region Constructors // Construct the row public Row(int no) { slots = new Slot[no]; for (int i = 0; i < no; i++) { slots[i] = new Slot(); } }
private void Application_Loaded(object sender, EventArgs e) { Balder.Core.Application application = (Balder.Core.Application)this.FindName("application"); if (null != application) { this.application.Initialize(this, this._rootCanvas); application.Viewport = new Viewport(640, 480); application.Viewport.Scene = new Scene(); Slot slot = new Slot(this._rootCanvas, application); ScoreManager.Instance.RootCanvas = this._rootCanvas; //SymbolManager.Instance.CheckScore(null); } }