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

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

public class MapView
extends ch.sahits.game.rendering.AbstractRenderPart
implements ch.sahits.game.event.IEventListener

View holding an overview of the map

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

Field Summary
 
Fields inherited from class ch.sahits.game.rendering.AbstractRenderPart
rect
 
Constructor Summary
MapView(Rectangle rect)
           
 
Method Summary
 void gameRender(Graphics gScr)
           
 void gameUpdate(ch.sahits.game.event.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
 

Constructor Detail

MapView

public MapView(Rectangle rect)
Method Detail

gameRender

public void gameRender(Graphics gScr)
Specified by:
gameRender in interface ch.sahits.game.rendering.Renderable

gameUpdate

public void gameUpdate(ch.sahits.game.event.Event e,
                       Object eventNotice)
Specified by:
gameUpdate in interface ch.sahits.game.event.IEventListener
Specified by:
gameUpdate in interface ch.sahits.game.rendering.Renderable


Copyright © 2011 Sahits GmbH. All Rights Reserved.