Class College


  • public class College
    extends Entity
    Defines a college and its associated buildings.
    • Constructor Detail

      • College

        public College()
      • College

        public College​(int factionId)
        Creates a college at the location associated with the given faction id.
        Parameters:
        factionId - numerical id of the faction
    • Method Detail

      • isAlive

        public void isAlive()
        True as long as unharmed buildings remain, false otherwise.
      • update

        public void update()
        Description copied from class: Entity
        Similar to the Component's update event
        Overrides:
        update in class Entity