summaryrefslogtreecommitdiff
path: root/i/marvin/src/es/es.hh
diff options
context:
space:
mode:
authordufourj2006-05-26 08:12:24 +0000
committerdufourj2006-05-26 08:12:24 +0000
commit56e637ec77fc6c220009663dcc35712e399bfd5d (patch)
treed3ebab75458fdce937169fcd2931283e0c1bd3ee /i/marvin/src/es/es.hh
parentdd7faf987331073d71248bd84f5a113ad9629a29 (diff)
Général :
- commit du programme d'après premier match.
Diffstat (limited to 'i/marvin/src/es/es.hh')
-rw-r--r--i/marvin/src/es/es.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/i/marvin/src/es/es.hh b/i/marvin/src/es/es.hh
index 8abcca4..94bb68d 100644
--- a/i/marvin/src/es/es.hh
+++ b/i/marvin/src/es/es.hh
@@ -185,6 +185,12 @@ class Es : public Proto::Receiver
bool barilletIsFull(void);
/// What color do you see my lord ?
int colorSeen (int sensor_num);
+ /// Totems activator
+ void totemActivator (bool out);
+ /// Front sensor
+ bool frontSensor (void) { return front_sensor_; }
+ /// Clear sensor
+ void clearFrontSensor (void) { front_sensor_ = false; }
private:
/// Decode a color into a string