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; } } }
public void setExtra (Beat beat, Panel panel) { extra = new Part(beat, panel); }
public void setSub (Beat beat, Panel panel) { sub = new Part(beat, panel); }
public void setMain (Beat beat, Panel panel) { main = new Part(beat, panel); }