Uses of Class
us.asciiroth.client.core.Direction

Packages that use Direction
us.asciiroth.client.agents   
us.asciiroth.client.agents.npc Non-Player Characters 
us.asciiroth.client.board   
us.asciiroth.client.core   
us.asciiroth.client.effects   
us.asciiroth.client.terrain   
us.asciiroth.client.terrain.decorators   
us.asciiroth.client.terrain.triggers Triggers are a kind of decorator in software terms; they are a terrain that wraps and augments the behavior of any other terrain piece. 
 

Uses of Direction in us.asciiroth.client.agents
 

Methods in us.asciiroth.client.agents that return Direction
static Direction AgentUtils.findPathInDirection(Cell agentLoc, Agent agent, Cell targetCell, Direction direction, Targeting targeting)
          Given targeting information and a desired direction to move in, return a direction that is the closest the agent can get to moving in the desired direction.
static Direction AgentUtils.findPathToTarget(Cell agentLoc, Agent agent, Targeting targeting)
          Given targeting information, devise the best possible direction to move.
static Direction AgentUtils.getDirectionToCell(Cell origin, Cell target)
          Given two cells, determine the direction that will take you from the origin closer to the target cell.
static Direction AgentUtils.getDirectionToCellRangeLimited(Cell origin, Cell target, Targeting targeting)
          Determine a direction toward the provided target cell from the origin cell, accounting for the range specified in the targeting parameter.
 

Methods in us.asciiroth.client.agents with parameters of type Direction
 boolean LavaWorm.canEnter(Direction direction, Cell from, Cell to)
           
 boolean AgentProxy.canEnter(Direction direction, Cell from, Cell to)
           
 boolean AbstractAgent.canEnter(Direction direction, Cell from, Cell to)
           
static Direction AgentUtils.findPathInDirection(Cell agentLoc, Agent agent, Cell targetCell, Direction direction, Targeting targeting)
          Given targeting information and a desired direction to move in, return a direction that is the closest the agent can get to moving in the desired direction.
 void Tumbleweed.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void Thermadon.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void Statue.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void Slider.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void Optilisk.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void LavaWorm.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void KillerBee.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void GreatOldOne.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void Farthapod.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void Corvid.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void Cephalid.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void AgentProxy.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void AbstractAgent.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void Hooloovoo.onHitBy(Event event, Cell itemLoc, Item item, Direction dir)
           
 void Corvid.onHitBy(Event event, Cell itemLoc, Item item, Direction dir)
           
 void AgentProxy.onHitBy(Event event, Cell itemLoc, Item item, Direction dir)
           
 void AbstractAgent.onHitBy(Event event, Cell itemLoc, Item item, Direction dir)
           
 

Constructors in us.asciiroth.client.agents with parameters of type Direction
Pusher(Direction dir, Color color, State state)
          Constructor.
Slider(Direction dir)
          Constructor.
Tumbleweed(Direction direction)
          Constructor.
 

Uses of Direction in us.asciiroth.client.agents.npc
 

Methods in us.asciiroth.client.agents.npc with parameters of type Direction
 void NPC.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void NPC.onHitBy(Event event, Cell itemLoc, Item item, Direction dir)
           
 

Uses of Direction in us.asciiroth.client.board
 

Methods in us.asciiroth.client.board with parameters of type Direction
 boolean Cell.canEnter(Cell agentLoc, Agent agent, Direction dir, boolean targetPlayer)
          Can the agent enter this cell, accounting both for the terrain type and the presence of other agents, as well as the intent of the agent (attack player vs.
 java.lang.String Board.getAdjacentBoard(Direction direction)
          Get a board adjacent to the current board in the indicated direction.
 Cell Cell.getAdjacentCell(Direction direction)
          Get the cell adjacent to the current cell in the indicated direction.
 Cell Board.getAdjacentCell(int x, int y, Direction dir)
          Given a location on the board and a direction, get the adjacent cell.
 boolean CellFilter.matches(Cell cell, Direction from)
           
 

Uses of Direction in us.asciiroth.client.core
 

Fields in us.asciiroth.client.core declared as Direction
static Direction Direction.DOWN
          Down.
static Direction Direction.EAST
          East.
static Direction Direction.NONE
          No direction indicated.
static Direction Direction.NORTH
          North.
static Direction Direction.NORTHEAST
          Northeast.
static Direction Direction.NORTHWEST
          Northwest.
static Direction Direction.SOUTH
          South.
static Direction Direction.SOUTHEAST
          Southeast.
static Direction Direction.SOUTHWEST
          Southwest.
static Direction Direction.UP
          Up.
static Direction Direction.WEST
          West.
 

Methods in us.asciiroth.client.core that return Direction
static Direction Direction.byName(java.lang.String name)
          Retrieve a direction by its name.
 Direction Direction.getReverseDirection()
           
static Direction Direction.inferDirection(Cell origin, Cell target)
          Given movement from a start cell to an origin cell, what's the direction that has to be taken?
 

Methods in us.asciiroth.client.core that return types with arguments of type Direction
static java.util.List<Direction> Direction.getAdjacentDirections()
          A list of directions that lead to the adjacent cells on a map, not including up or down.
static java.util.List<Direction> Direction.getMapDirections()
          A list of directions that lead to adjacent boards, the cardinal directions as well as up and down.
 

Methods in us.asciiroth.client.core with parameters of type Direction
 void Game.agentMove(Event event, Cell agentLoc, Agent agent, Direction direction)
           
 boolean Terrain.canEnter(Agent agent, Cell cell, Direction direction)
          Can the (non-player) agent enter this terrain? Without regard to side effects, this method should determine if the agent can actually move into the cell.
 boolean Player.canEnter(Direction direction, Cell from, Cell to)
           
 boolean Agent.canEnter(Direction direction, Cell from, Cell to)
          Can the agent enter this terrain? This method mirrors the same method in Terrain, and both most return true for the agent to be able to move.
 boolean Terrain.canExit(Agent agent, Cell cell, Direction direction)
          Can the (non-player) agent exit this terrain? Without regard to side effects, this method should determine if the agent can actually move into the cell.
 void Game.fireWeapon(Direction dir)
           
 void Game.move(Direction direction)
           
 void Terrain.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void Terrain.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
           
 void Terrain.onEnter(Event event, Player player, Cell cell, Direction dir)
          Agent attempting to leave the from cell, heading toward the to cell.
 void Terrain.onExit(Event event, Player player, Cell cell, Direction dir)
          Agent attempting to exit the from cell, heading toward the to cell.
 void Player.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
           
 void Agent.onHitBy(Event event, Cell agentLoc, Agent agent, Direction dir)
          Called when this agent is hit by another agent (another agent collides with it).
 void Player.onHitBy(Event event, Cell itemLoc, Item item, Direction dir)
           
 void Agent.onHitBy(Event event, Cell itemLoc, Item item, Direction dir)
          Called when this agent is hit by another item, either by being thrown, or by being wielded by the player.
 void Game.shoot(Event event, Cell agentLoc, Piece originator, Item ammo, Direction dir)
           
 void Player.teleport(Event event, Direction dir, java.lang.String boardID, int x, int y)
           
 void Game.throwItem(Direction direction)
           
 

Uses of Direction in us.asciiroth.client.effects
 

Methods in us.asciiroth.client.effects that return Direction
 Direction InFlightItem.getDirection()
          Get the direction this item is currently flying.
 

Methods in us.asciiroth.client.effects with parameters of type Direction
 void InFlightItem.setDirection(Direction direction)
          Set the direction this item should continue to fly.
 

Constructors in us.asciiroth.client.effects with parameters of type Direction
InFlightItem(Item item, Direction direction, Piece originator)
          Constructor.
 

Uses of Direction in us.asciiroth.client.terrain
 

Methods in us.asciiroth.client.terrain that return Direction
 Direction Turnstile.getDirection()
          Get the direction this turnstile allows an agent to move (east or west), without the ability to return.
static Direction TerrainUtils.getRandomDirection()
          Given a list of directions, choose one at random.
 

Methods in us.asciiroth.client.terrain with parameters of type Direction
 boolean Turnstile.canEnter(Agent agent, Cell cell, Direction direction)
           
 boolean Pit.canEnter(Agent agent, Cell cell, Direction direction)
           
 boolean OpeningMarker.canEnter(Agent agent, Cell cell, Direction direction)
           
 boolean Gate.canEnter(Agent agent, Cell cell, Direction direction)
           
 boolean Door.canEnter(Agent agent, Cell cell, Direction direction)
           
 boolean Cliff.canEnter(Agent agent, Cell cell, Direction dir)
           
 boolean Bridge.canEnter(Agent agent, Cell cell, Direction direction)
           
 boolean AbstractTerrain.canEnter(Agent agent, Cell cell, Direction dir)
           
 boolean Turnstile.canExit(Agent agent, Cell cell, Direction direction)
           
 boolean Gate.canExit(Agent agent, Cell cell, Direction direction)
           
 boolean FarthapodNest.canExit(Agent agent, Cell cell, Direction direction)
           
 boolean Door.canExit(Agent agent, Cell cell, Direction direction)
           
 boolean Cliff.canExit(Agent agent, Cell cell, Direction dir)
           
 boolean Bridge.canExit(Agent agent, Cell cell, Direction direction)
           
 boolean BeeHive.canExit(Agent agent, Cell cell, Direction direction)
           
 boolean AbstractTerrain.canExit(Agent agent, Cell cell, Direction direction)
           
static Cell TerrainUtils.getCellOnOppositeSide(Cell cell, Direction direction)
          To support animated pieces that loop around the board, this method returns the approximate cell located on the opposite side of the board.
static Terrain TerrainUtils.getTerrainWithReverseDirection(Cell cell, Direction dir)
          Given a cell with a terrain that has a direction, and the current direction of that terrain, this method creates and caches a terrain piece with an opposite direction.
 void Turnstile.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void PressurePlate.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void Pit.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void OpeningMarker.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void Gate.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void EuclideanTransporter.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void Door.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void AbstractTerrain.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void Turnstile.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
           
 void Raft.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
           
 void PressurePlate.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
           
 void Gate.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
           
 void FarthapodNest.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
          The farthapods can get out, however.
 void Door.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
           
 void BeeHive.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
          The bees can get out, however.
 void AbstractTerrain.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
           
 void WishingWell.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void VendingMachine.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Urn.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Turnstile.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Throne.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Teleporter.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Switch.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void StairsUp.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void StairsDown.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void RustyGate.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Reflector.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Pylon.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void PressurePlate.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Pit.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void OpeningMarker.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Ocean.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void KeySwitch.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void ImpassableCliffs.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Gate.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void ForceField.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void FishPool.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Exchanger.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void EuclideanTransporter.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void EuclideanEngine.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Door.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Crevasse.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Crate.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Chest.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void CaveEntrance.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Bridge.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Bookshelf.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void BeeHive.onEnter(Event event, Player player, Cell cell, Direction dir)
          You really shouldn't walk into a bee hive.
 void AbstractTerrain.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Cliff.onEnterInternal(Event event, Player player, Cell cell, Direction dir)
           
 void Turnstile.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void Throne.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void Swamp.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void StairsUp.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void StairsDown.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void ShallowSwamp.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void Raft.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void Pylon.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void PressurePlate.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void Mud.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void Gate.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void Door.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void CaveEntrance.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void Bridge.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void AbstractTerrain.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void Cliff.onExitInternal(Event event, Player player, Cell cell, Direction dir)
           
 

Constructors in us.asciiroth.client.terrain with parameters of type Direction
Altar(Direction direction)
          Constructor.
Fence(Direction direction)
           
ForceField(Direction direction, Color color, State state)
           
ForceField(Terrain terrain, Direction direction, Color color, State state)
           
Reflector(Direction direction, Color color)
           
Throne(Direction direction)
           
 

Uses of Direction in us.asciiroth.client.terrain.decorators
 

Methods in us.asciiroth.client.terrain.decorators with parameters of type Direction
 boolean SecretPassage.canEnter(Agent agent, Cell cell, Direction direction)
          Agents are fooled and treat terrain as it appears.
 boolean PitTrap.canEnter(Agent agent, Cell cell, Direction direction)
           
 boolean DualTerrain.canEnter(Agent agent, Cell cell, Direction direction)
           
 boolean Decorator.canEnter(Agent agent, Cell cell, Direction direction)
           
 boolean AgentGate.canEnter(Agent agent, Cell cell, Direction direction)
           
 boolean SecretPassage.canExit(Agent agent, Cell cell, Direction direction)
          Agents are fooled and treat terrain as it appears.
 boolean DualTerrain.canExit(Agent agent, Cell cell, Direction direction)
           
 boolean Decorator.canExit(Agent agent, Cell cell, Direction direction)
           
 boolean AgentGate.canExit(Agent agent, Cell cell, Direction direction)
           
 void PitTrap.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void DualTerrain.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void Decorator.onAgentEnter(Event event, Agent agent, Cell cell, Direction dir)
           
 void DualTerrain.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
           
 void Decorator.onAgentExit(Event event, Agent agent, Cell cell, Direction dir)
           
 void PitTrap.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void DualTerrain.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void Decorator.onEnter(Event event, Player player, Cell cell, Direction dir)
           
 void PlayerGate.onEnterInternal(Event event, Player player, Cell cell, Direction dir)
           
 void DualTerrain.onExit(Event event, Player player, Cell cell, Direction dir)
           
 void Decorator.onExit(Event event, Player player, Cell cell, Direction dir)
           
 

Uses of Direction in us.asciiroth.client.terrain.triggers
 

Methods in us.asciiroth.client.terrain.triggers with parameters of type Direction
 void TriggerOnceIfNot.onEnterInternal(Event event, Player player, Cell cell, Direction dir)
           
 void TriggerOnceIf.onEnterInternal(Event event, Player player, Cell cell, Direction dir)
           
 void TriggerOnce.onEnterInternal(Event event, Player player, Cell cell, Direction dir)
           
 void TriggerIfNot.onEnterInternal(Event event, Player player, Cell cell, Direction dir)
           
 void TriggerIf.onEnterInternal(Event event, Player player, Cell cell, Direction dir)
           
 void Trigger.onEnterInternal(Event event, Player player, Cell cell, Direction dir)
           
 


0.7

2009 Alx Dark