civquest.map
Class MapObject
java.lang.Object
civquest.map.MapObject
- Direct Known Subclasses:
- City, Unit
- public abstract class MapObject
- extends java.lang.Object
Something produced by a city or otherwise owned by a nation, appearing uniquely
on the map.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nation
protected Nation nation
field
protected Field field
MapObject
public MapObject()
MapObject
public MapObject(Field field)
MapObject
public MapObject(Nation nation)
MapObject
public MapObject(Nation nnation,
Field nfield)
getPosition
public Coordinate getPosition()
setField
public void setField(Field nfield)
getField
public Field getField()
setNation
public void setNation(Nation nation)
getNation
public Nation getNation()