Example usage for com.badlogic.gdx.ai Agent interface-usage

List of usage examples for com.badlogic.gdx.ai Agent interface-usage

Introduction

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

Usage

From source file com.badlogic.gdx.tests.ai.fsm.Bob.java

/** @author davebaol */
public class Bob implements Agent {
    // the amount of gold a miner must have before he feels comfortable
    final public static int COMFORT_LEVEL = 5;
    // the amount of nuggets a miner can carry
    final public static int MAX_NUGGETS = 3;

From source file com.badlogic.gdx.tests.ai.fsm.Elsa.java

/** @author davebaol */
public class Elsa implements Agent {

    // an instance of the state machine class
    private StateMachine<Elsa> stateMachine;