public class CurrentVision
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Creature |
creature
The creature.
|
protected Vision |
vision
The current vision of the creature.
|
Constructor and Description |
---|
CurrentVision()
Default Constructor.
|
CurrentVision(Creature creature,
Vision vision)
Init Constructor.
|
Modifier and Type | Method and Description |
---|---|
Creature |
getCreature()
Get the creature of this CurrentVision.
|
Vision |
getVision()
Get the vision of this CurrentVision.
|
void |
setCreature(Creature creature)
Set the creature of this CurrentVision.
|
void |
setVision(Vision vision)
Set the vision of this CurrentVision.
|
java.lang.String |
toString()
Get a string representation of this CurrentVision.
|
protected Creature creature
protected Vision vision
public CurrentVision()
CurrentVision
.public Creature getCreature()
public void setCreature(Creature creature)
creature
- the value to be setpublic Vision getVision()
public void setVision(Vision vision)
vision
- the value to be setpublic java.lang.String toString()
toString
in class java.lang.Object