public class

Brick

extends RectangleShape
java.lang.Object
   ↳ sofia.graphics.Shape
     ↳ sofia.graphics.StrokedShape
       ↳ sofia.graphics.FillableShape
         ↳ sofia.graphics.RectangleShape
           ↳ sofia.demos.breakout.Brick

Class Overview

A brick in the Breakout game.

Summary

Public Constructors
Brick(RectF bounds)
Creates a new brick.
[Expand]
Inherited Methods
From class sofia.graphics.RectangleShape
From class sofia.graphics.FillableShape
From class sofia.graphics.StrokedShape
From class sofia.graphics.Shape
From class java.lang.Object

Public Constructors

public Brick (RectF bounds)

Creates a new brick.

Parameters
bounds The size and location of the brick.