Drools examples 6.0.3-SNAPSHOT

org.drools.games.pong
Class Bat

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

public class Bat
extends Object


Constructor Summary
Bat(int x, int y, int width, int height)
           
 
Method Summary
 int getDy()
           
 int getHeight()
           
 Player getPlayer()
           
 PlayerId getPlayerId()
           
 int getSpeed()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 void setDy(int dy)
           
 void setHeight(int height)
           
 void setPlayer(Player player)
           
 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

Bat

public Bat(int x,
           int y,
           int width,
           int height)
Method Detail

getPlayer

public Player getPlayer()

setPlayer

public void setPlayer(Player player)

getPlayerId

public PlayerId getPlayerId()

getSpeed

public int getSpeed()

getDy

public int getDy()

setDy

public void setDy(int dy)

setSpeed

public void setSpeed(int speed)

getX

public int getX()

setX

public void setX(int x)

getY

public int getY()

setY

public void setY(int y)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

toString

public String toString()
Overrides:
toString in class Object

Drools examples 6.0.3-SNAPSHOT

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