2 * Copyright (c) 2002 Erik Rasmussen - All Rights Reserverd
8 * This is an agent that doesn't really react to stimuli in the world, it
9 * simply accelerates in a random direction. If you're trying to write an
10 * agent and a RandomAgent performs the task better than your agent, you
11 * <b>seriously</b> need to take another look at your agent algorithm!
13 * @author Erik Rasmussen
15 public class RandomAgent
extends Agent
18 * Ignores any world stimuli and sets the acceleration randomly.
20 public void observeWorld()
22 setAcceleration(getRandomAcceleration());