Question: Brick - pointValue : int + BRICK _ WIDTH : int + BRICK _ HEIGHT : int Brick point value when hit by the ball.
Brick pointValue : int BRICKWIDTH : int BRICKHEIGHT : int Brick point value when hit by the ball. Width of the brick public constant Height of the brick public constantBrick xLoc : int, yLoc : int getter and setter for pointValue Constructor that creates the Brick at the given loc. Note: The Brick has other basic properties that are inherited from the Rectangle class eg Color I made my bricks x
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
