Interface InviteSender

All Superinterfaces:
Nameable
All Known Subinterfaces:
Inviteable
All Known Implementing Classes:
Government, Nation, Town

public interface InviteSender extends Nameable
Represents a class that can receive invitations.
Author:
Articdive
  • Method Details

    • getSentInvites

      Collection<Invite> getSentInvites()
      Gets the collection of outgoing invites.
      Returns:
      The outgoing invites.
    • newSentInvite

      void newSentInvite(Invite invite) throws TooManyInvitesException
      Adds an outgoing invite.
      Parameters:
      invite - The outgoing invite to add.
      Throws:
      TooManyInvitesException - When the outgoing invite limit has been reached.
    • deleteSentInvite

      void deleteSentInvite(Invite invite)
      Removes an outgoing invite.
      Parameters:
      invite - The invite to remove from the outgoing collection.