nanomunchers.ui
Class NanoInputFrame

java.lang.Object
  extended bynanomunchers.ui.NanoInputFrame
All Implemented Interfaces:
heurgame.HuReceptor

public class NanoInputFrame
extends java.lang.Object
implements heurgame.HuReceptor

The actual window and direction choices to be presented to the user

Author:
David Kaplin

Constructor Summary
NanoInputFrame(heurgame.ui.builder.ComponentOrientedBuilder cBuilder)
           
 
Method Summary
 void captureMove(heurgame.HuClient h)
          Shows the screen to the user.
 java.awt.Frame getInputFrame()
           
 void setGraph(Graph board)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NanoInputFrame

public NanoInputFrame(heurgame.ui.builder.ComponentOrientedBuilder cBuilder)
Parameters:
cBuilder - should be a valid an existing component oriented builder
Method Detail

setGraph

public void setGraph(Graph board)
Parameters:
board - to be shown to the user

getInputFrame

public java.awt.Frame getInputFrame()

captureMove

public void captureMove(heurgame.HuClient h)
Shows the screen to the user.

Specified by:
captureMove in interface heurgame.HuReceptor
See Also:
HuReceptor.captureMove(heurgame.HuClient)