示例#1
0
 private void OnPressCurtain(object sender, IntEventArgs e)
 {
     if (curtains[e.ID - 20].DisplayingID == 0)
     {
         curtains[e.ID - 20].DisplayingID = 1;
     }
     else
     {
         curtains[e.ID - 20].DisplayingID = 0;
     }
 }
示例#2
0
 private void DragItem_Press(object sender, IntEventArgs e)
 {
     animals[e.ID].isVisible = true;
 }