org.deken.game.map.renderer
Interface MapRenderer

All Known Implementing Classes:
BackgroundScrollTileMapRenderer, BaseMapRenderer, FreeStyleRenderer, MouseScrollTileMapRenderer, ScrollTileMapRenderer, StaticTileMapRenderer, TileMapRenderer

public interface MapRenderer

Copyright: Copyright (c) March 27, 2013

Version:
1.0
Author:
Gary Deken

Method Summary
 void draw(java.awt.Graphics2D graphics)
          Draws the specified TileMap.
 int getEdgeBottom()
           
 int getEdgeLeft()
           
 int getEdgeRight()
           
 int getEdgeTop()
           
 int getScreenHeight()
          Returns the height of the screen.
 int getScreenWidth()
          Returns the width of the screen.
 void setScreenSize(int width, int height)
          setScreenSize Sets the size of the screen, so renders the full screen.
 

Method Detail

draw

void draw(java.awt.Graphics2D graphics)
Draws the specified TileMap.

Parameters:
graphics - Graphics2D

getEdgeBottom

int getEdgeBottom()

getEdgeLeft

int getEdgeLeft()

getEdgeRight

int getEdgeRight()

getEdgeTop

int getEdgeTop()

getScreenWidth

int getScreenWidth()
Returns the width of the screen.

Returns:

getScreenHeight

int getScreenHeight()
Returns the height of the screen.

Returns:

setScreenSize

void setScreenSize(int width,
                   int height)
setScreenSize Sets the size of the screen, so renders the full screen.

Parameters:
width - int
height - int