Esempio n. 1
0
 public void UpdateData(JShot rawShotData)
 {
     lock (lockData)
     {
         this.contentString = rawShotData.ContentString;
         parseObjects();
     }
 }
Esempio n. 2
0
 void specClient_ShotSpawned(JShot shot)
 {
     lock (lockShotArrInterp) { shotArrInterp.Add(new InterpolatedShot(shot.ContentString)); }
 }
Esempio n. 3
0
 void specClient_ShotDespawned(JShot shot)
 {
     lock (lockShotArrInterp) { shotArrInterp.RemoveAll(S => S.Id == shot.Id); }
 }