Beispiel #1
0
 /// <summary>
 /// Updates the the projectiles dictionary to contain the given projectile
 /// </summary>
 /// <param name="proj"></param>
 public void Update(Projectile proj)
 {
     if (!proj.GetActive())
     {
         Projectiles.Remove(proj.GetID());
     }
     else
     {
         Projectiles[proj.GetID()] = proj;
     }
 }