Example usage for com.badlogic.gdx.backends.dragome.preloader AssetType Binary

List of usage examples for com.badlogic.gdx.backends.dragome.preloader AssetType Binary

Introduction

In this page you can find the example usage for com.badlogic.gdx.backends.dragome.preloader AssetType Binary.

Prototype

AssetType Binary

To view the source code for com.badlogic.gdx.backends.dragome.preloader AssetType Binary.

Click Source Link

Usage

From source file:com.badlogic.gdx.tests.dragome.launcher.FreeTypeLauncher.java

@Override
public ApplicationListener createApplicationListener() {
    AssetLoaderListener<Object> listener = new AssetLoaderListener<Object>();
    AssetDownloader.loadScript("freetype.js", listener);
    getPreloader().loadAsset("data/arial.ttf", AssetType.Binary, null, new AssetLoaderListener<Object>());
    getPreloader().loadAsset("data/arial-italic.ttf", AssetType.Binary, null,
            new AssetLoaderListener<Object>());
    return new FreeTypePackTest();
}