public void tick(){
		localEntity.tick();
		for(int i = 0; i < globalEntity.length; i++){
			if(globalEntity[i] != null)
				globalEntity[i].tick();
		}
		worlds.get(currentWorld).tick();
		
		if(Keyboard.isKeyDown(Keyboard.KEY_J)){
			nm.startClientManager();
			try {
				nm.getClientManager().connect("localhost", nm.getPort());
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
		
		if(Keyboard.isKeyDown(Keyboard.KEY_K)){
			nm.startHost();
		}
		if(getCurrentLevel().getBlockAtPixel(localEntity.x, localEntity.y) instanceof BlockTardisBottom){ //TODO move to own class, make multiplayer compat
			if(getCurrentWorld().levels.size() > getCurrentWorld().currentLevel+1){
			next();
			localEntity.resetPlayer();
			}
		}
	}