Class AntHill


  • public class AntHill
    extends ActingElement
    The ant hill. Ants periodically appear from this hill. The frequency increases as the game goes on. Check its nextMove property to see how many turns until the next ant--one means it will be this turn, immediately after the beetle's action.
    • Constructor Detail

      • AntHill

        public AntHill​(int x,
                       int y,
                       int nextMove,
                       int frequency)
      • AntHill

        public AntHill​(Coord coord,
                       int nextMove,
                       int frequency)