コード例 #1
0
ファイル: Marimo.cs プロジェクト: Exor/SuperMarimoBros
 private void DoShellStuff(Shell shell)
 {
     if (shell.velocity.X != 0)
         OnHitEnemy();
 }
コード例 #2
0
ファイル: Shell.cs プロジェクト: Exor/SuperMarimoBros
 public static bool ShellIsMoving(Shell shell)
 {
     if (shell.velocity.X == 0)
         return false;
     return true;
 }