예제 #1
0
 //显示身体
 public void ShowBody()
 {
     if (m_BodyLen < 1)
     {
         return;
     }
     CUtil.AddControlInCanvas(m_BodyList.GetObject(m_BodyLen - 1).body);
 }
예제 #2
0
 //显示Image
 public override void Show()
 {
     CUtil.AddControlInCanvas(background);
     CUtil.AddControlInCanvas(title);
     CUtil.AddControlInCanvas(begin);
     CUtil.AddControlInCanvas(order);
     CUtil.AddControlInCanvas(gameover);
 }
예제 #3
0
 //显示Image
 public override void Show()
 {
     CUtil.AddControlInCanvas(background);
     CUtil.AddControlInCanvas(food);
     CUtil.AddControlInCanvas(snake);
     CUtil.AddControlInCanvas(Score);
     CUtil.AddControlInCanvas(pause);
     CUtil.AddControlInCanvas(runback);
 }
예제 #4
0
 //显示Image
 public override void Show()
 {
     CUtil.AddControlInCanvas(background);
     CUtil.AddControlInCanvas(pattern1);
     CUtil.AddControlInCanvas(pattern2);
     CUtil.AddControlInCanvas(back);
     CUtil.AddControlInCanvas(presen);
     CUtil.AddControlInCanvas(go);
     CUtil.AddControlInCanvas(xuanwo);
 }
예제 #5
0
 //显示Image
 public override void Show()
 {
     CUtil.AddControlInCanvas(background);
     CUtil.AddControlInCanvas(rank);
     CUtil.AddControlInCanvas(back);
     for (int i = 0; i < m_LableList.Count; i++)
     {
         CUtil.AddControlInCanvas(m_LableList[i]);
     }
 }
예제 #6
0
 //显示Image
 public override void Show()
 {
     CUtil.AddControlInCanvas(lable);
     CUtil.AddControlInCanvas(again);
     CUtil.AddControlInCanvas(home);
 }