internal ClassLineupInfo(BaseCharacter bc) { if (!bInitialize) { Initialize(); } this.bc = bc; CCC = bc.CCC; cpl = new ClassPanelLayout(leftPanelRenderLoc, CCC, CCC.allClassesExceptEquipped()); }
internal ClassPanel(int index, Point renderPosBigPanel, BaseClass c, ClassPanelLayout cpl) { if (!bInitialize) { Initialize(); } this.cpl = cpl; int yMod = index * classFramePos.Height + index * offSetPanels; renderDrawPos = new Rectangle(0, yMod, drawPos.Width, drawPos.Height); onScreen = new Rectangle(renderPosBigPanel.X, renderPosBigPanel.Y + yMod, drawPos.Width, drawPos.Height); render = new RenderTarget2D(Game1.graphics.GraphicsDevice, drawPos.Width, drawPos.Height); parent = c; className = c.ClassName + " Lvl. " + c.classEXP.classLevel + 1; classArmour = c.classTypeArmour.ToString(); }