All Packages Class Hierarchy This Package Previous Next Index
Class ch.jp.robwar.Stimuli
java.lang.Object
|
+----ch.jp.robwar.Stimuli
- public class Stimuli
- extends Object
- implements Serializable
-
feltImpact
- true if this robot was hit by a bullet during the previous round
-
heardImpact
- true if any robot was hit by a bullet during the previous round.
-
heardRocketLaunch
- true if any robot fired a rocket during the previous round
-
heardShot
- true if any robot in the game fired a shot (bullet) during the previous
round.
-
hitObstacle
- true whenever the robot hit an obstacle
(excluding bullets and rockets)
-
time
-
-
Stimuli()
-
-
mix(Stimuli)
-
hitObstacle
public boolean hitObstacle
- true whenever the robot hit an obstacle
(excluding bullets and rockets)
heardShot
public boolean heardShot
- true if any robot in the game fired a shot (bullet) during the previous
round.
heardRocketLaunch
public boolean heardRocketLaunch
- true if any robot fired a rocket during the previous round
heardImpact
public boolean heardImpact
- true if any robot was hit by a bullet during the previous round.
feltImpact
public boolean feltImpact
- true if this robot was hit by a bullet during the previous round
time
public int time
Stimuli
public Stimuli()
mix
public void mix(Stimuli w)
All Packages Class Hierarchy This Package Previous Next Index