View Javadoc

1   package nl.tudelft.goal.ut2004.messages;
2   
3   import java.util.ArrayList;
4   
5   /**
6    * Simple wrapper to describe a percept as a list of of Objects. These
7    * objects are then translated by EIS2Java.
8    * 
9    * @author mpkorstanje
10   * 
11   */
12  public class Percept extends ArrayList<Object> {
13  
14  	/**
15  	 * Serial version UID is date.
16  	 */
17  	private static final long serialVersionUID = 201205071333L;
18  
19  	public Percept(Object... arguments) {
20  		for (Object o : arguments) {
21  			add(o);
22  		}
23  	}
24  
25  }