예제 #1
0
 void drawBack(SpriteBatch sb)
 {
     //sb.Draw(LineBatch._empty_texture, innerRectangle, backColor);
     if (backGround != null)
     {
         backGround.Draw(sb);
     }
 }
예제 #2
0
 public override void Draw(SpriteBatch sb)
 {
     if (sb1 != null)
     {
         sb1.Draw(sb);
     }
     if (sb2 != null)
     {
         sb2.Draw(sb);
     }
     if (sb3 != null)
     {
         sb3.Draw(sb);
     }
     if (sb4 != null)
     {
         sb4.Draw(sb);
     }
 }