Example usage for com.badlogic.gdx InputMultiplexer addProcessor

List of usage examples for com.badlogic.gdx InputMultiplexer addProcessor

Introduction

In this page you can find the example usage for com.badlogic.gdx InputMultiplexer addProcessor.

Prototype

public void addProcessor(int index, InputProcessor processor) 

Source Link

Usage

From source file:se.danielj.skuttandenyancat.systems.HudRenderSystem.java

License:GNU General Public License

public HudRenderSystem(GameController gameController, InputMultiplexer inputMultiplexer) {
    this.gameController = gameController;
    stage = new Stage();
    inputMultiplexer.addProcessor(0, stage);
}