public abstract class Behaviour
extends com.jme3.scene.control.AbstractControl
| Modifier and Type | Class and Description |
|---|---|
static class |
Behaviour.behaviourNullAgentException |
| Modifier and Type | Field and Description |
|---|---|
protected Agent |
agent
Agent to whom behaviour belongs.
|
| Constructor and Description |
|---|
Behaviour(Agent agent)
Constructor for behaviour that doesn't have any special spatial during
execution.
|
Behaviour(Agent agent,
com.jme3.scene.Spatial spatial)
Constructor for behaviour that has spatial during execution.
|
protected Agent agent
public Behaviour(Agent agent)
agent - to whom behaviour belongsBehaviour.behaviourNullAgentException - If agent is nullpublic Behaviour(Agent agent, com.jme3.scene.Spatial spatial)
agent - to whom behaviour belongsspatial - which is active during executionBehaviour(com.jme3.ai.agents.Agent)