Class MarriageQuestInfo
java.lang.Object
games.stendhal.server.maps.quests.marriage.MarriageQuestInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the name of the quest slot.Get the name of the spouse slot.boolean
Check if a player is engaged with another player.boolean
Check if a player is married to another player.
-
Constructor Details
-
MarriageQuestInfo
public MarriageQuestInfo()
-
-
Method Details
-
getQuestSlot
Get the name of the quest slot.- Returns:
- quest slot name
-
getSpouseQuestSlot
Get the name of the spouse slot.- Returns:
- spouse slot name
-
isMarried
Check if a player is married to another player.- Parameters:
player
- the player to be checked- Returns:
- true iff the player is married
-
isEngaged
Check if a player is engaged with another player.- Parameters:
player
- the player to check- Returns:
- true iff the player is engaged
-