edu.columbia.cs.coms4701.agent.environments.pente
Class PentePerceptError
java.lang.Object
edu.columbia.cs.coms4701.agent.environments.pente.PentePerceptError
- All Implemented Interfaces:
- AgentPercept, PentePercept
public class PentePerceptError
- extends java.lang.Object
- implements PentePercept
A percept indicating that the player's previous move was invalid.
If a player attempts an invalid move, the environment will not change, the
player will receive a PenteErrorPercept, and the player will be asked again
for a move.
- Version:
- 0.1
User: aaron Date: Sep 24, 2006 Time: 6:01:20 PM
- Author:
- aaron@cs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PentePerceptError
public PentePerceptError(PentePerceptError.ReasonForError theReason)
- Constructs a new error percept with the given reason.
- Parameters:
theReason
-
getReasonForError
public PentePerceptError.ReasonForError getReasonForError()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object