/** * Will Draw this button * Note This function is not called if you use addToAutoDrawSet(); */ public override void drawThisPanel(Camera drawLocation) { base.drawThisPanel(drawLocation); if (sparcler.visible) { sparcler.paint(drawLocation); } }
public override void paint(Camera drawLocation) { base.paint(drawLocation); fillBarBackground.paint(drawLocation); if (fillBar != null) { fillBar.paint(drawLocation); } }
/** * Will Draw this Enemy */ public override void paint(Camera drawLocation) { if (visible) { base.paint(drawLocation); infectCloud.paint(drawLocation); selected.paint(drawLocation); highLight.paint(drawLocation); displayedScore.paint(drawLocation); health.paint(drawLocation); infectBar.paint(drawLocation); } }
/** * Will draw this panel and only this panel. None of this panels subPanels will be drawn. by this function */ public virtual void drawThisPanel(Camera drawLocation) { Background.paint(drawLocation); }