com.brackeen.javagamebook.game
Interface GameObjectRenderer
- All Known Implementing Classes:
- ZBufferedRenderer
- public interface GameObjectRenderer
The GameObjectRenderer interface provides a method for
drawing a GameObject.
Method Summary |
boolean |
draw(java.awt.Graphics2D g,
GameObject object)
Draws the object and returns true if any part of the
object is visible. |
draw
public boolean draw(java.awt.Graphics2D g,
GameObject object)
- Draws the object and returns true if any part of the
object is visible.