public void setFocus(LLEPanel panel) { for (int i = 0; i < mPanels.Count; i++) { if (mPanels[i] == panel) { mSelectedPanelIndex = i; break; } } }
public void renderOnPanel(SpriteBatch g, LLEPanel panel) { g.DrawString(mFont, mText, new Vector2(panel.getX() + mPosition.X, panel.getY() + mPosition.Y), mColor); }