public class DebugProfile
extends java.lang.Object
Red (celaine) |
Red (celaine) |
Constructor and Description |
---|
DebugProfile(BasicGraphController graphController)
Construct a debug profile for an actor with the associated
GraphController.
|
Modifier and Type | Method and Description |
---|---|
BasicGraphController |
getGraphController()
Get the GraphController.
|
boolean |
isListening(FiringEvent.FiringEventType type)
See if the DebugProfile contains this FiringEventType.
|
void |
listenForEvent(FiringEvent.FiringEventType type)
Add this FiringEventType to the DebugProfile.
|
boolean |
matches(FiringEvent.FiringEventType type)
See if the DebugProfile contains this FiringEventType.
|
void |
unlistenForEvent(FiringEvent.FiringEventType type)
Remove this FiringEventType from the DebugProfile.
|
public DebugProfile(BasicGraphController graphController)
graphController
- The GraphController.public BasicGraphController getGraphController()
public boolean isListening(FiringEvent.FiringEventType type)
type
- the FiringEventType.public void listenForEvent(FiringEvent.FiringEventType type)
type
- the FiringEventType.public boolean matches(FiringEvent.FiringEventType type)
type
- the FiringEventType.public void unlistenForEvent(FiringEvent.FiringEventType type)
type
- the FiringEventType.