TargetObject¶
-
class
labpyproject.apps.labpyrinthe.bus.commands.targets.
TargetObject
(typetarget, case, direct=None, axe=None, sens=None, score=0)[source]¶ Bases :
object
Enregistre les données d’une cible temporaire
Modélise une cible de parcours
- Paramètres
typetarget (str) – TARGET_MAIN ou TARGET_TEMP
case (Case) – case associée
direct (str) – direction associée
axe (str) – horizontal ou vertical
sens (int) – positif ou négatif
score (float) – score associé à la cible
Attributes Summary
identifie une cible principale
identifie une cible temporaire
Attributes Documentation
-
TARGET_MAIN
= 'TARGET_MAIN'¶ identifie une cible principale
-
TARGET_TEMP
= 'TARGET_TEMP'¶ identifie une cible temporaire