Interface IColonyRelated

All Known Implementing Classes:
EntityMercenary

public interface IColonyRelated
Interface type for entities belonging to a colony
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the colony this entity belongs to
    void
    Register the entity with the related colony
    void
    Set the colony.
  • Method Details

    • registerWithColony

      void registerWithColony()
      Register the entity with the related colony
    • getColony

      IColony getColony()
      Gets the colony this entity belongs to
      Returns:
      the colony.
    • setColony

      void setColony(IColony colony)
      Set the colony.
      Parameters:
      colony - the colony to set.