Drools examples 6.1.0-SNAPSHOT

org.drools.games.pong
Class Ball

java.lang.Object
  extended by org.drools.games.pong.Ball

public class Ball
extends Object


Constructor Summary
Ball(int x, int y, int width)
           
 
Method Summary
 int getDx()
           
 int getDy()
           
 int getSpeed()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 void setDx(int dx)
           
 void setDy(int dy)
           
 void setSpeed(int speed)
           
 void setWidth(int width)
           
 void setX(int x)
           
 void setY(int y)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Ball

public Ball(int x,
            int y,
            int width)
Method Detail

getY

public int getY()

setY

public void setY(int y)

getX

public int getX()

setX

public void setX(int x)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getDx

public int getDx()

setDx

public void setDx(int dx)

getDy

public int getDy()

setDy

public void setDy(int dy)

getSpeed

public int getSpeed()

setSpeed

public void setSpeed(int speed)

toString

public String toString()
Overrides:
toString in class Object

Drools examples 6.1.0-SNAPSHOT

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.