示例#1
0
 // Initialize Menu
 public Menu(Process.position x, ScriptHandler s, Items i1, Items i2, Items i3)
 {
     this.menuType = x;
     this.items[0] = i1;
     this.items[1] = i2;
     this.items[2] = i3;
     script = s;
 }
示例#2
0
 // Loading individual icons
 private void initializeCustomItem()
 {
     for (int i = 0; i < numberOfSide; i++)
         for (int j = 0; j < eyeProject2.Menu.maxItems; j++)
             items[i, j] = new Items(icons[i * (eyeProject2.Menu.maxItems) + j]);
 }