Class InstructionTag

java.lang.Object
labyrinthe.instructions.autres.InstructionTag
All Implemented Interfaces:
Instruction

public class InstructionTag extends Object implements Instruction
Cette classe représente une instruction tag (tourne à gauche).
  • Constructor Details

    • InstructionTag

      public InstructionTag()
  • Method Details

    • executer

      public void executer(Tortue tortue, Labyrinthe labyrinthe)
      Cette méthode exécute l'instruction tag (tourne à gauche).
      Specified by:
      executer in interface Instruction
      Parameters:
      tortue - l'instance de la tortue
      labyrinthe - l'instance du labyrinthe