ch.sahits.game.graphic.display.dialog
Class BuyProxyAction

java.lang.Object
  extended by ch.sahits.game.graphic.display.dialog.BuyProxyAction
All Implemented Interfaces:
Runnable

 class BuyProxyAction
extends Object
implements Runnable

This proxy handles the execution of the buy action based on the current type of the dialog.

Author:
Andi Hotz, (c) Sahits GmbH, 2011 Created on Dec 18, 2011

Field Summary
private  HashMap<ETransferDialogType,Runnable> actionMap
           
private  ITransferable dialog
           
private static org.apache.log4j.Logger logger
           
 
Constructor Summary
BuyProxyAction(IWare ware, ITransferable dialog)
           
 
Method Summary
 void run()
          Delegate to the run method of the action associated with the dialog type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final org.apache.log4j.Logger logger

dialog

private final ITransferable dialog

actionMap

private final HashMap<ETransferDialogType,Runnable> actionMap
Constructor Detail

BuyProxyAction

public BuyProxyAction(IWare ware,
                      ITransferable dialog)
Method Detail

run

public void run()
Delegate to the run method of the action associated with the dialog type

Specified by:
run in interface Runnable


Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.