dip.tool
Class ToolProxyImpl

java.lang.Object
  extended bydip.tool.ToolProxyImpl
All Implemented Interfaces:
ToolProxy

public class ToolProxyImpl
extends java.lang.Object
implements ToolProxy

Default, standard implementation of the ToolProxy object. This API has not yet been defined, and remains in flux.


Constructor Summary
ToolProxyImpl(ClientFrame clientFrame)
          Constructor
 
Method Summary
 ClientFrame getClient()
          Gets the ClientFrame (JFrame) instance
 TurnState getCurrentTurnState()
          Convenience method: gets the current TurnState from the current World, or null
 World getWorld()
          Gets the current World object, if any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolProxyImpl

public ToolProxyImpl(ClientFrame clientFrame)
Constructor

Method Detail

getWorld

public World getWorld()
Description copied from interface: ToolProxy
Gets the current World object, if any. May return null.

Specified by:
getWorld in interface ToolProxy

getCurrentTurnState

public TurnState getCurrentTurnState()
Description copied from interface: ToolProxy
Convenience method: gets the current TurnState from the current World, or null

Specified by:
getCurrentTurnState in interface ToolProxy

getClient

public ClientFrame getClient()
Description copied from interface: ToolProxy
Gets the ClientFrame (JFrame) instance

Specified by:
getClient in interface ToolProxy


Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.