@Override
	public void tick(double deltaTime) {
		boolean touching = false;
		
		for(GameObject go: ep.getGos()){
			
			if(go.touches(this) && go != this){
				if((go.getPos().getX()-go.getWidth()/2-this.getPos().getX())
						/(go.getPos().getY()-go.getHeight()/2 - this.getPos().getY()) < 2 && ((EpWall)go).getSize() > 0){
					touching = true;
				}else{
					remove();
					ep.deathTimer();
					if(EpPanel.DEBUG){
						System.out.println(go + "\n" + this);
					}
				}
			}
		}
		
		if(!touching){
			sFalling+=S_PLAYER*deltaTime;
			canJump=false;
		}else{
			if(sFalling > 0)
				sFalling = 0;
			canJump = true;
		}
		this.getPos().addYMod(sFalling);
		
	}