public class NetHex
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) NetHexLocation |
netHexLocation |
(package private) int |
numberChit |
(package private) ResourceType |
resourceType |
Constructor and Description |
---|
NetHex()
Default constructor, instantiates a default NetHexLocation and
a null resourceType.
|
Modifier and Type | Method and Description |
---|---|
NetHexLocation |
getNetHexLocation() |
int |
getNumberChit() |
ResourceType |
getResourceType() |
void |
setNetHexLocation(NetHexLocation netHexLocation) |
void |
setNumberChit(int numberChit) |
void |
setResourceType(ResourceType resourceType) |
java.lang.String |
toString() |
NetHexLocation netHexLocation
ResourceType resourceType
int numberChit
public NetHex()
public NetHexLocation getNetHexLocation()
public void setNetHexLocation(NetHexLocation netHexLocation)
netHexLocation
- the netHexLocation to setpublic ResourceType getResourceType()
public void setResourceType(ResourceType resourceType)
resourceType
- the resourceType to setpublic int getNumberChit()
public void setNumberChit(int numberChit)
numberChit
- the numberChit to setpublic java.lang.String toString()
toString
in class java.lang.Object