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

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

public class ViewStatus
extends AbstractRenderPart
implements IEventListener

This view represents the status view of the main view

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

Field Summary
private  String cityName
           
private  IFontLoader fontLoader
           
private  IOpenPatricianPainter opPainter
           
 
Fields inherited from class ch.sahits.game.rendering.AbstractRenderPart
rect
 
Constructor Summary
ViewStatus(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

cityName

private String cityName

opPainter

private final IOpenPatricianPainter opPainter

fontLoader

private final IFontLoader fontLoader
Constructor Detail

ViewStatus

public ViewStatus(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.