Class Transition
java.lang.Object
de.gurkenlabs.litiengine.entities.behavior.Transition
- All Implemented Interfaces:
java.lang.Comparable<Transition>
- Direct Known Subclasses:
EntityTransition
public abstract class Transition
extends java.lang.Object
implements java.lang.Comparable<Transition>
Constructor Summary
Constructors Modifier Constructor Description protected
Transition(int priority)
protected
Transition(int priority, State state)
Method Summary
Modifier and Type Method Description int
compareTo(Transition other)
protected abstract boolean
conditionsFullfilled()
State
getNextState()
int
getPriority()
Constructor Details
Transition
protected Transition(int priority)Transition
Method Details
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<Transition>
getNextState
getPriority
public int getPriority()conditionsFullfilled
protected abstract boolean conditionsFullfilled()