Beispiel #1
0
 private void ShotCease(Shot s)
 {
     //Console.WriteLine(s.Parent.Name + "'s shot ceased");
 }
Beispiel #2
0
 public Shot GetShot(long id)
 {
     Shot oRet = null;
     if (mcoShots.ContainsKey(id)) {
         oRet = mcoShots[id];
     } else {
         oRet = new Shot(this, id);
         mcoShots.Add(id, oRet);
         if (ShotFired != null)
             ShotFired(oRet);
     }
     return oRet;
 }