Class PhotographerNPC
java.lang.Object
games.stendhal.server.maps.quests.revivalweeks.PhotographerNPC
- All Implemented Interfaces:
LoadableContent
NPCs who creates photos
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadds the content to the world.static StringgenerateUrl(Player player, int i) generates the images urlbooleanremoves NPC from the Mine Town
-
Field Details
-
CAPTIONS
-
-
Constructor Details
-
PhotographerNPC
public PhotographerNPC()
-
-
Method Details
-
generateUrl
generates the images url- Parameters:
player- outfit of playeri- background index- Returns:
-
addToWorld
public void addToWorld()Description copied from interface:LoadableContentadds the content to the world.- Specified by:
addToWorldin interfaceLoadableContent
-
removeFromWorld
public boolean removeFromWorld()removes NPC from the Mine Town- Specified by:
removeFromWorldin interfaceLoadableContent- Returns:
true, if the content was removed,falseotherwise
-