Class InstructionTag
java.lang.Object
labyrinthe.instructions.autres.InstructionTag
- All Implemented Interfaces:
Instruction
Cette classe représente une instruction tag (tourne à gauche).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
executer
(Tortue tortue, Labyrinthe labyrinthe) Cette méthode exécute l'instruction tag (tourne à gauche).
-
Constructor Details
-
InstructionTag
public InstructionTag()
-
-
Method Details
-
executer
Cette méthode exécute l'instruction tag (tourne à gauche).- Specified by:
executer
in interfaceInstruction
- Parameters:
tortue
- l'instance de la tortuelabyrinthe
- l'instance du labyrinthe
-