|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapRenderer
Copyright: Copyright (c) March 27, 2013
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 |
---|
void draw(java.awt.Graphics2D graphics)
graphics
- Graphics2Dint getEdgeBottom()
int getEdgeLeft()
int getEdgeRight()
int getEdgeTop()
int getScreenWidth()
int getScreenHeight()
void setScreenSize(int width, int height)
width
- intheight
- int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |