org.deken.game.map.renderer
Class FreeStyleRenderer

java.lang.Object
  extended by org.deken.game.map.renderer.BaseMapRenderer
      extended by org.deken.game.map.renderer.FreeStyleRenderer
All Implemented Interfaces:
MapRenderer

public class FreeStyleRenderer
extends BaseMapRenderer

Title: FreeStyleRenderer

Description: This Renderer draws the sprites in the order in which they were added. It has no concept of tiles, everything is rendered at the pixel level.

Copyright: Copyright (c) Dec 12, 2010

Version:
1.0
Author:
Gary Deken

Field Summary
 
Fields inherited from class org.deken.game.map.renderer.BaseMapRenderer
map, mapSize, screenHeight, screenWidth
 
Constructor Summary
FreeStyleRenderer(GameMap map)
           
 
Method Summary
 void draw(java.awt.Graphics2D graphics)
          Draws the specified TileMap.
 int getEdgeBottom()
           
 int getEdgeLeft()
           
 int getEdgeRight()
           
 int getEdgeTop()
           
 
Methods inherited from class org.deken.game.map.renderer.BaseMapRenderer
getScreenHeight, getScreenWidth, renderBackground, renderGameComponents, setScreenSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeStyleRenderer

public FreeStyleRenderer(GameMap map)
Method Detail

draw

public void draw(java.awt.Graphics2D graphics)
Description copied from interface: MapRenderer
Draws the specified TileMap.

Parameters:
graphics - Graphics2D

getEdgeBottom

public int getEdgeBottom()

getEdgeLeft

public int getEdgeLeft()

getEdgeRight

public int getEdgeRight()

getEdgeTop

public int getEdgeTop()