Exemplo n.º 1
0
 protected virtual void OnLightProjectileFired(LightProjectile lightProjectile, object source)
 {
     LightProjectileHappened?.Invoke(this,
                                     new LightProjectileEventArgs()
     {
         //Projectile = new ShotgunProjectile(Position, new Vector2(0, 0), 10)
         Projectile = lightProjectile
     });
 }
Exemplo n.º 2
0
 public void CreateLightProjectile(LightProjectile lightProjectile, object source)
 {
     OnLightProjectileFired(lightProjectile, source);
 }