breakout
Class MovableGameObject

java.lang.Object
  extended by breakout.GameObject
      extended by breakout.MovableGameObject
Direct Known Subclasses:
Ball, Schlaeger

public abstract class MovableGameObject
extends GameObject


Constructor Summary
MovableGameObject()
           
 
Method Summary
 double getVx()
           
 double getVy()
           
 void move()
           
 void reflectV()
           
 void setV(double vx, double vy)
           
 void setVx(double vx)
           
 void setVy(double vy)
           
 void stop()
           
 
Methods inherited from class breakout.GameObject
addSize, getHeight, getWidth, getX, getY, hits, isAboveOf, isBelowOf, isLeftOf, isRightOf, setHeight, setPos, setWidth, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MovableGameObject

public MovableGameObject()
Method Detail

move

public void move()

stop

public void stop()

reflectV

public void reflectV()

getVx

public double getVx()

setVx

public void setVx(double vx)

getVy

public double getVy()

setVy

public void setVy(double vy)

setV

public void setV(double vx,
                 double vy)