Package ora4mas.nopl.oe
Class Player
- java.lang.Object
-
- ora4mas.nopl.oe.Player
-
- All Implemented Interfaces:
jaca.ToProlog
,java.io.Serializable
,java.lang.Comparable<Player>
public class Player extends java.lang.Object implements jaca.ToProlog, java.io.Serializable, java.lang.Comparable<Player>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Player(java.lang.String ag, java.lang.String t)
-
-
-
Method Detail
-
getAg
public java.lang.String getAg()
-
getTarget
public java.lang.String getTarget()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
compareTo
public int compareTo(Player o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Player>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getAsPrologStr
public java.lang.String getAsPrologStr()
- Specified by:
getAsPrologStr
in interfacejaca.ToProlog
-
-