/* 
	JCavernApplet.java

	Title:			JCavern And Glen
	Author:			Bill Walker
	Description:	
*/

package jcavern;

import java.awt.Graphics;

/**
 * Castle represents a stationary shelter that renders
 * the player invulnerable to all monster attacks.
 *
 * @author	Bill Walker
 * @version	$Id$
 */
public class Castle extends Thing
{
	public Castle()
	{
		super("Castle");
	}
	
	public Object clone()
	{
		return new Castle();
	}
	
	public void paint(Graphics g, int plotX, int plotY)
	{
		g.drawOval(plotX - 20, plotY - 20, 40, 40);
	}
}


@@ -361,16 +361,26 @@
 %22Castle%22
+, %22castle%22
 );%0A%09%7D%0A%09%0A
@@ -435,114 +435,7 @@
 %0A%09%7D%0A
-%09%0A%09public void paint(Graphics g, int plotX, int plotY)%0A%09%7B%0A%09%09g.drawOval(plotX - 20, plotY - 20, 40, 40);%0A%09%7D%0A
 %7D%0A%0A

use generic paint rountine; no need to override