@@ -0,0 +1,1231 @@
+package ge.edu.freeuni.sdp.arkanoid.model;%0A%0Aimport ge.edu.freeuni.sdp.arkanoid.model.geometry.Point;%0Aimport ge.edu.freeuni.sdp.arkanoid.model.geometry.Rectangle;%0Aimport ge.edu.freeuni.sdp.arkanoid.model.geometry.Size;%0A%0A/**%0A * Created by Koko on 12.04.2016.%0A */%0Apublic class MyBrick extends Brick %7B%0A%0A    private boolean _isAlive;%0A    private Capsule _capsule;%0A    private int n = 2;%0A%0A    MyBrick(Point position, BrickColor color, Capsule capsule) %7B%0A        super(position, color, capsule);%0A        _isAlive = true;%0A        _capsule = capsule;%0A    %7D%0A%0A    @Override%0A    public void interact(Gobj other) %7B%0A        n--;%0A        if (other instanceof Ball) %7B%0A            if (n %3C 1) %7B%0A                _capsule.release(getPosition());%0A                _isAlive = false;%0A            %7D%0A        %7D else if (other instanceof MovementKillerBrick)%7B%0A            if (n %3C 1)%0A                _isAlive = false;%0A        %7D%0A    %7D%0A    @Override%0A    public Rectangle getShape() %7B%0A        return new Rectangle(getPosition(), new Size(5, 1));%0A    %7D%0A%0A    @Override%0A    public boolean isKillable() %7B%0A        return true;%0A    %7D%0A%0A    @Override%0A    public boolean isAlive() %7B%0A        return _isAlive;%0A    %7D%0A%0A    public void setN(int n)%7B%0A        this.n = n;%0A    %7D%0A%7D%0A

Create MyBrick.java