Example usage for com.badlogic.gdx ApplicationListener interface-usage

List of usage examples for com.badlogic.gdx ApplicationListener interface-usage

Introduction

In this page you can find the example usage for com.badlogic.gdx ApplicationListener interface-usage.

Usage

From source file com.phionsoft.zentriumph.maps.AppListener.java

public abstract class AppListener implements ApplicationListener {
    public boolean needsGL20() {
        return false;
    }

    public void create() {

From source file com.pixelscientists.gdx.LibgdxUtils.java

/**
 * This is the main class of the game itself. It offers access to the
 * {@link Game}, {@link SpriteBatch}, {@link AssetManager} and {@link Logger}
 * instances and delegates everything to the {@link Game}.
 * 
 * @author Daniel Holderbaum

From source file com.qualcomm.vuforia.samples.libGDX.screens.ChooseBallScreen.java

/*******************************************************************************
 * Copyright 2011 See AUTHORS file.
 * <p/>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

From source file com.qualcomm.vuforia.samples.libGDX.screens.ChooseIslandScreen.java

/*******************************************************************************
 * Copyright 2011 See AUTHORS file.
 * <p/>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

From source file com.redditgdx.vang.test.GdxTestRunner.java

public class GdxTestRunner extends BlockJUnit4ClassRunner implements ApplicationListener {

    private Map<FrameworkMethod, RunNotifier> invokeInRender = new HashMap<FrameworkMethod, RunNotifier>();

    public GdxTestRunner(Class<?> klass) throws InitializationError {
        super(klass);

From source file com.ridiculousRPG.GameBase.java

/**
 * @author Alexander Baumgartner
 */
public abstract class GameBase extends GameServiceDefaultImpl implements ApplicationListener {
    private static GameBase instance;
    private SpriteBatch spriteBatch;

From source file com.sandeel.bushidoblocks.BushidoBlocks.java

public class BushidoBlocks extends Game implements ApplicationListener {

    private ActionResolver actionResolver; // for platform-specific actions
    private Leaderboard leaderboard; // for Swarm leaderboard on Android

    public BushidoBlocks(Leaderboard leaderboard, ActionResolver ar) {

From source file com.sertaogames.cactus2d.Cactus2DApplication.java

public class Cactus2DApplication implements ApplicationListener {

    public static boolean DEBUG = false;
    public static final float PHYSICS_SCALE = 100;
    public static final float INV_PHYSICS_SCALE = 0.01f;
    public static float sfxVolume = 1f;

From source file com.shirleydean.panicflower.PFGame.java

/*******************************************************************************
 * Copyright 2015 Dean Alvero (deanalvero@gmail.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

From source file com.softwaresemantics.diyglsllwp.DIYGslSurface.java

public class DIYGslSurface implements ApplicationListener, GestureListener {

    private static final String OPEN_GL_ES_2_0_REQUIRED = "OpenGL ES 2.0 required";

    private static final String ERROR_LOADING_SHADER = "Error loading shader";