/* 
	Target.java

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

*/
import java.awt.*;

public class Target
{
	int		nX_coord;
	int		nY_coord;
	Image	imgTarget;
	
	// Target constructor :	x			- x coordinate of the target
	//						y			- y coordinate of the target
	//						imgTarget	- image of the target
	public Target(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);
	}
}
