/* 
	Bat.java

	[ more java @ mlab - 10-17.1.2000 - juhuu@katastro.fi ]

*/
import java.awt.*;

public class Bat
{
	int		nX_coord;
	int		nY_coord;
	Image	imgTarget;
	
	// Bat constructor :	x			- x coordinate of the bat
	//						y			- y coordinate of the bat
	//						imgTarget	- image of the bat	public Bat(int x, int y, Image img)
	{
		nX_coord 	= x;
		nY_coord 	= y;
		imgTarget	= img;
	}

	public void draw(Graphics g)
	{
		g.drawImage(imgTarget, nX_coord, nY_coord, null);
	}

	public void setX(int x)
	{
		nX_coord = x;	}
	}
