Example #1
0
 public Part this[int index] {
     get { return m_Parts[index]; }
     set {
         m_Parts[index] = value;
         switch (index) {
             case INDEX_MAIN: m_Main = value; return;
             case INDEX_SUB: m_Sub = value; return;
             case INDEX_EXTRA: m_Extra = value; return;
         }
     }
 }
Example #2
0
 public void setExtra (Beat beat, Panel panel) {
     extra = new Part(beat, panel);
 }
Example #3
0
 public void setSub (Beat beat, Panel panel) {
     sub = new Part(beat, panel);
 }
Example #4
0
 public void setMain (Beat beat, Panel panel) {
     main = new Part(beat, panel);
 }