Class EmptyLayerRenderer

java.lang.Object
games.stendhal.client.LayerRenderer
games.stendhal.client.EmptyLayerRenderer

public class EmptyLayerRenderer extends LayerRenderer
A dummy layer renderer.
  • Constructor Details

    • EmptyLayerRenderer

      public EmptyLayerRenderer()
  • Method Details

    • draw

      public void draw(Graphics g, int x, int y, int w, int h)
      Description copied from class: LayerRenderer
      Render the layer.
      Specified by:
      draw in class LayerRenderer
      Parameters:
      g - The graphics to draw to
      x - starting x coordinate in world units
      y - starting y coordinate in world units
      w - width in world units
      h - height in world units
    • setTileset

      public void setTileset(Tileset tileset)
      Description copied from class: LayerRenderer
      Set the tiles used for rendering.
      Specified by:
      setTileset in class LayerRenderer
      Parameters:
      tileset - tile set