示例#1
0
 /**
  * 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);
     }
 }
示例#2
0
 public override void paint(Camera drawLocation)
 {
     base.paint(drawLocation);
     fillBarBackground.paint(drawLocation);
     if (fillBar != null)
     {
         fillBar.paint(drawLocation);
     }
 }
示例#3
0
 /**
  * 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);
     }
 }
示例#4
0
 /**
  * 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);
 }