uwcse.sim
Class Offset

java.lang.Object
  |
  +--uwcse.sim.Offset

public class Offset
extends java.lang.Object

Represents an extent in the x and y direction. Used to represent offsets or vectors from an origin point in the simulation.


Field Summary
 int dx
           
 int dy
           
 
Constructor Summary
Offset(int dx, int dy)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dx

public int dx

dy

public int dy
Constructor Detail

Offset

public Offset(int dx,
              int dy)