public void update() {
		List<Entity> entities = level.getallEntities();
		for (int i = 0; i < entities.size(); i++) {
			if (entities.get(i) instanceof Zombie) {
				Zombie current = (Zombie) entities.get(i);
				//creates 16x16 "hitbox"
				if (x < current.getX() + 17 && x > current.getX() - 17 && y < current.getY() + 17 && y > current.getY() - 17) {
					current.takeDamage(damage, damage/2, "zombie");
					remove();
				}
			}
		}
		if (level.tileCollision((int) (x + nx), (int) (y + ny), 2, 7, 7)) {
			level.add(new ParticleSpawner((int) x + 5, (int) y + 6, 40, 20, Sprite.particle_normal, level));
			remove();
		} else {
			move();
		}
	}