edu.columbia.cs.coms4701.agent.environments.robot
Interface RobotAgent
- All Superinterfaces:
- Agent<RobotAction,RobotPercept>, EnvironmentObject, GridObject
- All Known Implementing Classes:
- RoombaAgent
public interface RobotAgent
- extends Agent<RobotAction,RobotPercept>, GridObject
DESCRIPTION
- Version:
- 0.1
User: aaron Date: Aug 25, 2006 Time: 9:15:12 AM
- Author:
- aaron@cs
Method Summary |
java.lang.Integer |
getCleanedDirtCount()
Returns how many pieces of dirt this agent has picked up. |
void |
incrementCleanedDirtCount()
Convenience method for incrementing the cleaned dirt count by 1. |
void |
setCleanedDirtCount(java.lang.Integer theCount)
Sets the count of how many pieces of dirt this agent has picked up. |
getCleanedDirtCount
java.lang.Integer getCleanedDirtCount()
- Returns how many pieces of dirt this agent has picked up.
- Returns:
- an integer between 0 and the area of the grid
setCleanedDirtCount
void setCleanedDirtCount(java.lang.Integer theCount)
- Sets the count of how many pieces of dirt this agent has picked up.
- Parameters:
theCount
-
incrementCleanedDirtCount
void incrementCleanedDirtCount()
- Convenience method for incrementing the cleaned dirt count by 1.