From Intrigues Wiki

IsAunt Method in Actor Class


The IsAunt method in the Actor class is designed to determine whether the actor is an aunt of another specified actor. This method is crucial in games where extended family relationships, such as those with aunts, play a significant role in the narrative, gameplay mechanics, or character interactions.


public bool IsAunt(Actor actor) => Aunts().Contains(actor);


  • actor (Actor): The actor to be checked against for a potential aunt-nephew/niece relationship.


  • Return Type: bool. Returns true if the actor is an aunt of the specified actor; otherwise, it returns false.


  • Functionality: The method checks if the specified actor is included in the current actor's list of aunts, obtained through the Aunts() method.
  • Purpose: The IsAunt method is essential for identifying aunt-nephew or aunt-niece relationships, which can be key in games that feature intricate familial structures and generational narratives.


This method is used to confirm if an actor has a familial aunt relationship with another actor. This information is vital in scenarios where extended family relationships play a crucial role, such as in determining family dynamics, inheritance, social interactions, or driving narrative progression.


public Actor nieceActor; // some actor
public Actor potentialAunt; // another actor

if (potentialAunt.IsAunt(nieceActor)) {
    // Execute logic specific to the aunt-niece relationship

In this example, the method is used to determine if potentialAunt is indeed the aunt of nieceActor. If an aunt-niece relationship exists, specific gameplay logic or narrative related to this relationship is executed.


  • The use of Aunts().Contains(actor) provides a straightforward and effective way to verify an aunt relationship.
  • The IsAunt method is significant in games where familial bonds and extended family dynamics are integral to the storyline and character development.
  • Accurate identification of familial relationships like aunts enhances the game's depth and social realism, contributing to more immersive and engaging storytelling.