public void loadLevel(Game game) {
		_loader = new LuaLoader("level_" + _currentLevel);
		
		String levelName = _loader.getValue("levelName").tojstring();
		LuaTable table = (LuaTable)_loader.getValue("levelData");
		
		System.out.println("Loaded level: " + levelName);
		
		for(int i = 0; i < table.length(); i++) {
			LuaValue index = table.get(i + 1);
			
			Vector2f position;
			
			switch(index.get("type").tojstring(1)) {
			case "player":
				position = new Vector2f((int)index.get("x").toint(1), (int)index.get("y").toint(1));
				
				game.addEntity(new EntityPlayer(position));
				break;
			case "platform":
				position = new Vector2f((int)index.get("x").toint(1), (int)index.get("y").toint(1));
				
				float rotation = (int)index.get("r").toint(1);
				int platformId = (int)index.get("textureID").toint(1);
				
				Platform platform = null;
				
				switch(platformId) {
				case Platform.HIGH_JUMP:
					platform = new PlatformHighJump(position, rotation);
					break;
				case Platform.NORMALIZE:
					platform = new PlatformNormalize(position, rotation);
					break;
				case Platform.REVERSER:
					platform = new PlatformReverser(position, rotation);
					break;
				default:
					System.err.println("Unsupported platform ID: " + platformId);
					break;
				}
				
				game.addPlatform(platform);
				break;
			default:
				System.err.println("Unsupported type: " + index.get("type").tojstring(1));
				break;
			}
		}
	}