public void update(GameContainer frame) {
		player.update(this,frame,staticslist,objectlist);
		//updates
		for (int i = 0; i < enemylist.size(); i++) {
			enemylist.get(i).update(this);
		}

		for (int i = 0; i < objectlist.size(); i++) {
			objectlist.get(i).update(this);
		}
		//check collisions
		for (Enemy e : enemylist) {
			if (e.hitbox.intersects(player.hitbox)) {
				timer.cancel();
				display.animations.startAnimation("deathAnimation",e.killerimg);
			}
		}
		//other hit effects
		for (Other o : objectlist) {
			if (o.hitbox.intersects(player.hitbox)) {
				o.hit(display);
			}
		}
		
		if(seeme) seemecounter++;
		if(seemecounter > 50) seemecounter = 0;
		
		
	}