コード例 #1
0
 public EnemyWithHealthExecutable(EnemyWithHealth enemyWithHealth, Weapon weapon, Weapon priorSplashWeapon, int priorSplashShots)
 {
     EnemyWithHealth   = enemyWithHealth;
     Weapon            = weapon;
     PriorSplashWeapon = priorSplashWeapon;
     PriorSplashShots  = priorSplashShots;
 }
コード例 #2
0
 public EnemyWithHealth(EnemyWithHealth other)
 {
     Enemy  = other.Enemy;
     Health = other.Health;
 }