public void tick(Input input, double delta) {
		if (isReady[0] && !isReady[1]) {
			delta = 0;
			isReady[1] = true;
		}

		physicHandler.tick(input, delta);
		for (int i = 0; i < entities.size(); i++) {

			AbstractEntity e = entities.get(i);

			for (int j = 0; j < entities.size() && e.isInteractsWithWorld()
					&& e.getType() != AbstractEntity.PIXEL; j++) {

				AbstractEntity o = entities.get(j);
				if (o.isInteractsWithWorld() && e.intersects(o)) {
					e.collided(o);
				}
			}
			for (ITrigger element : getTriggers()) {
				element.triggers(e);
			}

			e.beforeTick(delta);
			e.tick(input, delta);
			e.afterTick(delta);
		}

	}