package breakout;

import java.awt.Point;

/*bricks in which balls are unable to go through and simply bounce off
 *extended by brick100
 *brick100 converted to if hit by ghostball*/
public class StationaryBrick implements BreakOutBrick
{

	protected ScreenCanvas screen;
	protected BrickRepository repos;
	protected Point upperlft, lowerrt;
	
	
	public StationaryBrick (ScreenCanvas screen,
								BrickRepository repos,
								Point upperlft, Point lowerrt)
	{
		this.screen = screen;
		this.repos = repos;
		this.upperlft = new Point(upperlft);
		this.lowerrt = new Point(lowerrt);
		
		
	} 

	public StationaryBrick()
	{
	}

	public Point getUpperLft()
	{
		return this.upperlft;
	}


	public Point getLowerRt()
	{  
		return this.lowerrt;
	}
	
	public ScreenCanvas getCanvas ()
	{
		return this.screen;
	}
	
	public BrickRepository getBrickRepos()
	{
		return this.repos;
	}
}