Drools examples 6.1.0-SNAPSHOT

org.drools.games
Class GameUI

java.lang.Object
  extended by org.drools.games.GameUI
Direct Known Subclasses:
PongUI

public class GameUI
extends Object


Nested Class Summary
static class GameUI.GameKeyListener
           
 class GameUI.MyJPanel
           
 
Constructor Summary
GameUI(org.kie.api.runtime.KieSession ksession, GameConfiguration conf)
           
 
Method Summary
 JPanel getCanvas()
           
 Graphics getGraphics()
           
 void init()
          Initialize the contents of the frame.
 void repaint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameUI

public GameUI(org.kie.api.runtime.KieSession ksession,
              GameConfiguration conf)
Method Detail

init

public void init()
Initialize the contents of the frame.


getCanvas

public JPanel getCanvas()

getGraphics

public Graphics getGraphics()

repaint

public void repaint()

Drools examples 6.1.0-SNAPSHOT

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