コード例 #1
0
ファイル: Trou.cs プロジェクト: cadichris/bobail
 void Update()
 {
     if (!estAllume && jeu.ActifPeutAtteindre(X, Y))
     {
         Allumer();
     }
     if (estAllume && !jeu.ActifPeutAtteindre(X, Y))
     {
         Eteindre();
     }
 }