public class

StopEdgeHandler

extends Object
java.lang.Object
   ↳ uk.ac.imperial.presage2.util.location.area.StopEdgeHandler
Known Direct Subclasses

Class Overview

An EdgeHandler which modifies Moves so the agent stops at the extreme edge of the simulation Area.

Summary

Fields
protected Area.Edge e
protected final int x
protected final int y
protected final int z
Public Constructors
StopEdgeHandler(int x, int y, int z)
Public Methods
Move getValidMove(Location loc, Move m)
void setEdge(Area.Edge e)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected Area.Edge e

protected final int x

protected final int y

protected final int z

Public Constructors

public StopEdgeHandler (int x, int y, int z)

Public Methods

public Move getValidMove (Location loc, Move m)

public void setEdge (Area.Edge e)