Interface Ownable

    • Method Detail

      • getOwner

        Player getOwner()
        Gets the owner of this Ownable.
        Returns:
        The Player controlling this Ownable.
      • setOwner

        void setOwner​(Player p)
        Sets the owner of this Ownable.
        Parameters:
        p - The Player that should take ownership of this Ownable.
        Throws:
        java.lang.UnsupportedOperationException - if not implemented.