|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NPC | |
---|---|
obj |
Uses of NPC in obj |
---|
Methods in obj that return NPC | |
---|---|
NPC |
Room.getNPC(java.lang.String NPCIdentifer)
|
Methods in obj that return types with arguments of type NPC | |
---|---|
java.util.ArrayList<NPC> |
Room.getNPCs()
|
Methods in obj with parameters of type NPC | |
---|---|
void |
Room.addNPC(NPC npc)
Adds a single NPC to the room. |
void |
Room.removeNPC(NPC npc)
Removes a single NPC from the room. |
void |
Room.setNPCs(NPC[] npcs)
Sets the NPC's that can be found in the room. |
Constructors in obj with parameters of type NPC | |
---|---|
Room(java.lang.String name,
java.lang.String desc,
Item[] items,
NPC[] npcs)
Full constructor. |
|
Room(java.lang.String name,
java.lang.String desc,
Item item,
NPC npc)
Full constructor, but takes a single item instead of an array, and a single NPC. |
|
Room(java.lang.String name,
java.lang.String desc,
NPC npc)
Constructor without items, and just one npc. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |