How would an array of bricks work using the classes below. No magic numbers are allowed.

How would an array of bricks work using the classes below. No magic numbers are allowed./** * This class is used to store state information corresponding to a single Brick within the brick breaker game model.  * It provides basic information about the Brick’s position as well as information about the current strength of  * a Brick. All Bricks in brick breaker have a height of 20 and a width of 50, regardless of other state information. * */public class Brick{}   /**   *Creates a default level with a given dimension. The default brick configuration is a 5 row and 7   *column grid of Brick objects, each which requires 3 hits to break. Bricks are arranged starting   *40 pixels from the top edge of the screen and 10 pixels from the left edge of the screen. Bricks    *should be spaced with 5 pixels between each Brick in both dimensions. The Ball will start in the   *center of the screen, and the Paddle’s top-left edge should be positioned at the left edge and 20   *pixels up from the bottom of the screen.   * @param widthIn The logical width of the new level in pixels.   * @param heightIn The logical height of the new level in pixels.   */   Level(int widthIn, int heightIn)    {   }
Need help with similar assignment? We are available 24×7 to deliver the best services and ready within 3-4 hours?
Order a custom-written, plagiarism-free paper
Get Answer Over WhatsApp
Get Your Custom Answer Now
Do you have an upcoming essay or assignment due?
Your first order with us is FREE!
If yes
Get Your Custom Answer Now

Still stressed from student homework?
Get quality assistance from academic writers!
Open chat
You can contact our live agent via WhatsApp! Via + 1 9294730077

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 20% with the discount code SOLVE