Package net.sf.colossus.client
Class CreatureInfo
java.lang.Object
net.sf.colossus.client.CreatureInfo
- All Implemented Interfaces:
Cloneable
Basic information about one creature, for split prediction.
- Author:
- David Ripton
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Two CreatureInfo objects match if the types match.(package private) final String
getName()
getType()
int
hashCode()
Two CreatureInfo objects match if the names match.(package private) boolean
(package private) boolean
(package private) void
setAtSplit
(boolean atSplit) (package private) void
setCertain
(boolean certain) toString()
-
Field Details
-
type
-
certain
private boolean certain -
atSplit
private boolean atSplit
-
-
Constructor Details
-
CreatureInfo
CreatureInfo(CreatureType type, boolean certain, boolean atSplit)
-
-
Method Details
-
getName
-
setCertain
void setCertain(boolean certain) -
isCertain
boolean isCertain() -
setAtSplit
void setAtSplit(boolean atSplit) -
isAtSplit
boolean isAtSplit() -
clone
-
equals
Two CreatureInfo objects match if the types match. -
hashCode
public int hashCode()Two CreatureInfo objects match if the names match. -
toString
-
getType
-