Class MarriageQuestInfo

java.lang.Object
games.stendhal.server.maps.quests.marriage.MarriageQuestInfo

public class MarriageQuestInfo extends Object
  • Constructor Details

    • MarriageQuestInfo

      public MarriageQuestInfo()
  • Method Details

    • getQuestSlot

      public String getQuestSlot()
      Get the name of the quest slot.
      Returns:
      quest slot name
    • getSpouseQuestSlot

      public String getSpouseQuestSlot()
      Get the name of the spouse slot.
      Returns:
      spouse slot name
    • isMarried

      public boolean isMarried(Player player)
      Check if a player is married to another player.
      Parameters:
      player - the player to be checked
      Returns:
      true iff the player is married
    • isEngaged

      public boolean isEngaged(Player player)
      Check if a player is engaged with another player.
      Parameters:
      player - the player to check
      Returns:
      true iff the player is engaged