public void setTimers() {
		this.timer = new Timer();
		if (socketClient != null || (socketClient == null && socketServer == null)) {
			this.timer.scheduleAtFixedRate(new MovePlayers(), 0, speed);
			this.timer.scheduleAtFixedRate(new Repaint(), 0, speed);
			this.timer.scheduleAtFixedRate(new AnimatePlayers(), 0, speed);
			this.timer.scheduleAtFixedRate(new Input(), 0, speed);
		}
		this.timer.scheduleAtFixedRate(new Stamina(), 0, speed);
		this.timer.scheduleAtFixedRate(new PlayerWeapons(), 0, speed);
		this.timer.scheduleAtFixedRate(new Projectiles(), 0, speed);
		this.running = true;
	}