|
Drools examples 6.1.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.games.GameUI
org.drools.games.pong.PongUI
public class PongUI
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.drools.games.GameUI |
---|
GameUI.GameKeyListener, GameUI.MyJPanel |
Constructor Summary | |
---|---|
PongUI(org.kie.api.runtime.KieSession ksession,
GameConfiguration conf)
|
Method Summary | |
---|---|
void |
clearBall(Ball ball)
|
void |
clearBat(Bat bat)
|
void |
clearMovingBall(Ball ball)
|
void |
drawBall(Ball ball)
|
void |
drawBat(Bat bat)
|
void |
drawGame(Ball ball,
Bat bat1,
Bat bat2,
Player p1,
Player p2)
|
void |
drawScore(Player p,
int x)
|
void |
drawTable()
|
Methods inherited from class org.drools.games.GameUI |
---|
getCanvas, getGraphics, init, repaint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PongUI(org.kie.api.runtime.KieSession ksession, GameConfiguration conf)
Method Detail |
---|
public void drawGame(Ball ball, Bat bat1, Bat bat2, Player p1, Player p2)
public void clearBall(Ball ball)
public void clearMovingBall(Ball ball)
public void clearBat(Bat bat)
public void drawTable()
public void drawBall(Ball ball)
public void drawBat(Bat bat)
public void drawScore(Player p, int x)
|
Drools examples 6.1.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |