class ColorBlock extends AbstractBlock implements Block {

    @Override
    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof ColorBlock)) {
            return false;
        }
        ColorBlock that = (ColorBlock) obj;
        if (!PaintUtils.equal(this.paint, that.paint)) {
            return false;
        }
        return super.equals(obj);
    }

    public  ColorBlock(Paint paint, double width, double height);

}