@Override
	public void tick(int arg0, int arg1, int arg2) {
		ArrayList<ComponentPlayer> comps = player.getComponentsOfType(ComponentPlayer.class);
		ColliderBox coll;
		if(comps.size() > 0)
			coll = player.pos.add(comps.get(0).colliderPos).getColliderWithDim(comps.get(0).colliderDim);
		else
			coll = player.pos.getColliderWithDim(player.dim);
		
		if(coll.getCollision(entity.pos.getColliderWithDim(entity.dim), new Vector2(0,0)).collides && comps.size() > 0)
			Remote2D.guiList.push(new GuiWin());
	}