Class Walker

  • Direct Known Subclasses:
    GhostWalker, RandomWalker, RecursiveWalker, WallFollowerWalker

    public abstract class Walker
    extends java.lang.Object
    Le marcheur dans un labyrinthe. Le marcheur permet de marche dans un labyrinthe. Le marcheur à besoin de la méthode nextStep qui doit faire bouger le WalkerState avec move. Pour activer notre algorithme, on utilise la méthode walk.
    • Method Summary

      Modifier and Type Method Description
      abstract void nextStep()
      Fait bouger le marcheur vers sa prochaine étape.
      void walk()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • walk

        public void walk()
      • nextStep

        public abstract void nextStep()
        Fait bouger le marcheur vers sa prochaine étape.