예제 #1
0
 public override BattleUnit Create()
 {
     var unit = new Projectile();
     unit.Animations = Animations;
     return unit;
 }
예제 #2
0
파일: Ranged.cs 프로젝트: szyszart/Junkyard
 protected void ProjectileHit(Projectile p)
 {
     if (p.Target != null)
         Simulation.Attack(p.Target, this);
 }