edu.rochester.cs.quagents3.client

Class Follow

    • Constructor Detail

      • Follow

        public Follow(int entityid,
              double speed,
              int obstacles,
              long duration)
      • Follow

        public Follow(int entityid,
              long duration)
      • Follow

        public Follow(int entityid)
    • Method Detail

      • getDuration

        public long getDuration()
      • getEntityID

        public int getEntityID()
      • getSpeed

        public double getSpeed()
      • getObstacles

        public int getObstacles()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Specified by:
        run in class Command
      • addChildren

        protected void addChildren()
        Description copied from class: ProtocolOne
        P1 command should specify all nested ProtocolZero commands here.
        Specified by:
        addChildren in class ProtocolOne
      • update

        public void update()
        Specified by:
        update in class Command