Interface Instruction

All Known Implementing Classes:
InstructionAva, InstructionDeplacement, InstructionEcriture, InstructionFin, InstructionMet, InstructionMou, InstructionS, InstructionSaut, InstructionSdi, InstructionSez, InstructionSma, InstructionSou, InstructionTad, InstructionTag

public interface Instruction
Cette interface contient les méthodes à implémenter pour exécuter une instruction
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    executer(Tortue tortue, Labyrinthe labyrinthe)
    Cette méthode exécute l'instruction.
  • Method Details

    • executer

      void executer(Tortue tortue, Labyrinthe labyrinthe)
      Cette méthode exécute l'instruction.
      Parameters:
      tortue - l'instance de la tortue
      labyrinthe - l'instance du labyrinthe