public override void Update(float gameTime, ZombieSmashers.map.Map map, ParticleManager pMan, Character[] c) { if (!netSend) { HitManager.CheckHit(this, c, pMan); KillMe(); } }
public override void Update(float gameTime, ZombieSmashers.map.Map map, ParticleManager pMan, Character[] c) { if (HitManager.CheckHit(this, c, pMan)) { frame = 0f; } if (map.CheckParticleCol(Location)) { this.frame = 0f; pMan.MakeBulletDust(Location, Trajectory); } base.Update(gameTime, map, pMan, c); }