Exemplo n.º 1
0
 public void Fire(World world, Player player)
 {
     world.Entities.Add(new StrangeBullet { X = player.X, Y = player.Y });
 }
Exemplo n.º 2
0
 public void Fire(World world, Player player)
 {
     if ((world as RedMeansGoWorld).Heartbeats.Current > 0.3)
         world.Entities.Add(new StandardBullet { X = player.X, Y = player.Y });
 }