ch.sahits.game.graphic.display.gameplay
Class GameStatus

java.lang.Object
  extended by ch.sahits.game.rendering.AbstractRenderPart
      extended by ch.sahits.game.graphic.display.gameplay.GameStatus
All Implemented Interfaces:
IEventListener, Renderable, RenderablePart

public class GameStatus
extends AbstractRenderPart
implements IEventListener

This view represents the game status such as date and money.

Author:
Andi Hotz, (c) Sahits GmbH, 2011 Created on Sep 30, 2011

Field Summary
private  String cash
           
private  IClient client
           
private  String date
           
private  IOpenPatricianPainter opPainter
           
 
Fields inherited from class ch.sahits.game.rendering.AbstractRenderPart
rect
 
Constructor Summary
GameStatus(Rectangle rect, IClient client)
           
 
Method Summary
 void gameRender(Graphics gScr)
           
 void gameUpdate(Event e, Object eventNotice)
           
 
Methods inherited from class ch.sahits.game.rendering.AbstractRenderPart
getBounds, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

private final IClient client

cash

private String cash

date

private String date

opPainter

private final IOpenPatricianPainter opPainter
Constructor Detail

GameStatus

public GameStatus(Rectangle rect,
                  IClient client)
Method Detail

gameRender

public void gameRender(Graphics gScr)
Specified by:
gameRender in interface Renderable

gameUpdate

public void gameUpdate(Event e,
                       Object eventNotice)
Specified by:
gameUpdate in interface IEventListener
Specified by:
gameUpdate in interface Renderable


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