1 /*************************************************************************** 2 * (C) Copyright 2003-2014 - Faiumoni e.V. * 3 *************************************************************************** 4 *************************************************************************** 5 * * 6 * This program is free software; you can redistribute it and/or modify * 7 * it under the terms of the GNU General Public License as published by * 8 * the Free Software Foundation; either version 2 of the License, or * 9 * (at your option) any later version. * 10 * * 11 ***************************************************************************/ 12 package games.stendhal.client; 13 14 import java.awt.Graphics; 15 16 import games.stendhal.client.sprite.Tileset; 17 18 /** 19 * A dummy layer renderer. 20 */ 21 public class EmptyLayerRenderer extends LayerRenderer { 22 @Override draw(Graphics g, int x, int y, int w, int h)23 public void draw(Graphics g, int x, int y, int w, int h) { 24 // Draw nothing 25 } 26 27 @Override setTileset(Tileset tileset)28 public void setTileset(Tileset tileset) { 29 // Do nothing 30 } 31 } 32