コード例 #1
0
ファイル: BossPatterns.cs プロジェクト: kb10uy/Kbtter4
 private static IEnumerator<bool> SineWave(EnemyBoss boss, double speed)
 {
     while (boss.Health >= 0)
     {
         yield return true;
     }
 }
コード例 #2
0
ファイル: BossPatterns.cs プロジェクト: kb10uy/Kbtter4
 public static BossPhase Create(EnemyBoss boss, IEnumerator<bool> op, int health)
 {
     return new BossPhase { Operation = op, MaxHealth = health };
 }