public class NPC extends Creature
Constructor and Description |
---|
NPC(java.lang.String n,
java.lang.String d) |
Modifier and Type | Method and Description |
---|---|
void |
checkRoom()
Checks to see if the room is suitable for the NPC
|
void |
clean()
Clean the room
|
void |
dirty()
Dirty the room
|
void |
expressDiscontent()
Decrease the players respect
|
void |
expressGladness()
increase the players respect
|
void |
notifyCreature()
Do a whole heap of things, commented inline (in Animal)
|
allRoomsFull, compareTo, compareTo, drillThroughRoof, getRoom, getState, moveDirection, moveRoom, name, setDescription, setName, setRoom, setRoomState, setState, toString
public void expressGladness()
expressGladness
in class Creature
public void expressDiscontent()
expressDiscontent
in class Creature
public void notifyCreature()
notifyCreature
in class Creature
Animal
Harry Scells 2015 CSC241