Class Satellite

    • Constructor Detail

      • Satellite

        public Satellite​(Position position,
                         Port<Satellite> port)
        Create a new satellite with the given position and a communicate port.
        Parameters:
        position - Depart position of the satellite.
        port - Communicate port to send its position.
    • Method Detail

      • receive

        public void receive​(Beacon beacon)
        Bacon and satellite communication.
        Parameters:
        beacon - Beacon with the full memory.