@Override
	public void update(GameContainer gc, int delta) throws SlickException {
		p.tick(gc);
		if (isConnect()) {
			p.sendX(n);
			p.sendY(n);
			p.sendHealth(n);
			n.sendKeepAlive(1000);
		}
		for (MPPlayer mpp : players.values()) {
			mpp.tick(gc);
		}
		for (Stain s : stains.values()) {
			s.tick(gc);
		}
		for (MPProjectile p : mpprojectiles.values()) {
			p.tick(gc);
		}
		Iterator<Projectile> it = projectiles.iterator();
		while (it.hasNext()) {
			Projectile proj = it.next();
			if (proj.tick(gc)) {
				it.remove();
			}
		}
	}