sofia.micro.jeroo
Class Water

java.lang.Object
  extended by greenfoot.sofiainternal.Actor
      extended by sofia.graphics.Shape
          extended by sofia.graphics.ImageShape
              extended by sofia.micro.Actor
                  extended by sofia.micro.jeroo.Water

public class Water
extends Actor

Represents a patch of water on/around Santong Island.

Version:
$Date: 2012/08/06 11:13 $
Author:
Stephen Edwards, Last changed by $Author: edwards $

Constructor Summary
Water(int x, int y)
          Create a new patch of water.
 
Method Summary
 
Methods inherited from class sofia.micro.Actor
act, addedToWorld, addOther, getGridX, getGridY, getImage, getIntersectingObjects, getNeighbors, getNickName, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getShape, getWorld, move, remove, setBounds, setGridLocation, setGridX, setGridY, setImage, setImage, setNickName, setPosition, setPosition, setPositionAnchor, setPositionAnchor, setRotation, setX, setY, toString, turn, turnTowards, turnTowards
 
Methods inherited from class sofia.graphics.ImageShape
getSourceBounds, setBitmap, setSourceBounds, setSourceBounds
 
Methods inherited from class sofia.graphics.Shape
conditionallyRelayout, conditionallyRepaint, contains, contains, extendsOutside, getAlpha, getBounds, getColor, getHeight, getPosition, getPositionAnchor, getRotation, getRotationPivot, getShapeParent, getWidth, getX, getY, getZIndex, intersects, isInFrontOf, isVisible, move, notifyParentOfPositionChange, onBoundsResolved, rotateBy, setAlpha, setColor, setRotation, setRotation, setVisible, setZIndex
 
Methods inherited from class greenfoot.sofiainternal.Actor
_gf_addToWorld, _gf_getBoundingXs, _gf_getBoundingYs, _gf_getDelegate, _gf_getImage, _gf_getIntersectingObjects, _gf_getNeighbours, _gf_getObjectsAtOffset, _gf_getObjectsInRange, _gf_getOneIntersectingObject, _gf_getOneObjectAtOffset, _gf_getRotation, _gf_getX, _gf_getY, _gf_setImage, _gf_setImage, _gf_setLocation, _gf_setRotation, _gf_turn, addedToWorld, containsPoint, intersects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Water

public Water(int x,
             int y)
Create a new patch of water.

Parameters:
x - The x-coordinate of the water's location.
y - The y-coordinate of the water's location.


Greenfoot homepage