Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.repastdemos.gisModel
Class GisBug

    java.lang.Object
      uchicago.src.repastdemos.gisModel.GisBug

All Implemented Interfaces:
  Drawable

    public class GisBug

extends java.lang.Object
implements Drawable

The Bugs that run about the RasterSpace. These bugs don't do anything but move.

Version:
  $Revision: 1.1 $ $Date: 2005/08/12 20:04:51 $

Constructor Summary
`GisBug(RasterSpace space, Object2DGrid world, double x, double y, float randomMoveProb, double maxDistance)`

Method Summary
`void` | `draw(SimGraphics g)` Invoked when the object should draw itself
`int` | `getX()` Gets the x coordinate of this drawable.
`int` | `getY()` Gets the y coordinate of the this drawable.
`void` | `step()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GisBug

    public GisBug(RasterSpace space,
                  Object2DGrid world,
                  double x,
                  double y,
                  float randomMoveProb,
                  double maxDistance)

Method Detail

### getX

    public int getX()

  Description copied from interface: `Drawable`
  Gets the x coordinate of this drawable. Note that this should return the x coordinate in some space, not necessarily a screen coordinate.

  Specified by:
    `getX` in interface `Drawable`

### getY

    public int getY()

  Description copied from interface: `Drawable`
  Gets the y coordinate of the this drawable. Note that this should return the y coordinate in some space, not necessarily a screen coordinate.

  Specified by:
    `getY` in interface `Drawable`

### step

    public void step()

### draw

    public void draw(SimGraphics g)

  Description copied from interface: `Drawable`
  Invoked when the object should draw itself

  Specified by:
    `draw` in interface `Drawable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD