rl.centurion.game
Class CenturionElementVisibility
java.lang.Object
rl.centurion.game.CenturionElementVisibility
public class CenturionElementVisibility
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CenturionElementVisibility
public CenturionElementVisibility(CenturionGame game)
setMode
public void setMode(CenturionElementVisibility.Mode mode)
addListener
public void addListener(CenturionElementVisibilityListener l)
removeListener
public void removeListener(CenturionElementVisibilityListener l)
isElementVisible
public boolean isElementVisible(Player p,
GameElement ge)
wasElementVisible
public boolean wasElementVisible(Player p,
GameElement ge)
elementIsLocated
public boolean elementIsLocated(GameElement ge)
getLocationForGameElement
public Location getLocationForGameElement(GameElement ge)
isElementOffboard
public boolean isElementOffboard(GameElement ge)
isElementTransported
public boolean isElementTransported(GameElement ge)
getVisibleElements
public java.util.Vector<GameElement> getVisibleElements(GameElement element)
setLocation
public void setLocation(GameElement element,
Location location)
removeGameElement
public void removeGameElement(int turn,
GameElement ge)
getAffiliation
public Affiliation getAffiliation(GameElement source,
GameElement target)
sendAllElementLocations
public void sendAllElementLocations()
getElementsInLocation
public java.util.Vector<GameElement> getElementsInLocation(int turn,
Location location)
isCarryingElements
public boolean isCarryingElements(int turn,
GameElement element)
getCarryingElements
public java.util.Vector<GameElement> getCarryingElements(int turn,
GameElement element)