package net.coobird.paint.brush;

public class StagedBrush
{
	// TODO
	// Brush which will get larger as time passes
	// "staged" brush implementation

}

@@ -33,128 +33,644 @@
 %0D%0A%0D%0A
-public class StagedBrush%0D%0A%7B%0D%0A%09// TODO%0D%0A%09// Brush which will get larger as time passes%0D%0A%09// %22staged%22 brush implementation
+import java.awt.Color;%0D%0Aimport java.awt.image.BufferedImage;%0D%0A%0D%0Apublic class StagedBrush extends RegularCircularBrush%0D%0A%7B%0D%0A%09long lastTime = 0;%0D%0A%09int defaultSize = 0;%0D%0A%0D%0A%09@Override%0D%0A%09public BufferedImage getImage()%0D%0A%09%7B%0D%0A%09%09long timePast = System.currentTimeMillis() - lastTime;%0D%0A%09%09%0D%0A%09%09if (timePast %3C 100)%0D%0A%09%09%7B%0D%0A%09%09%09if (size %3C 60)%0D%0A%09%09%09%7B%0D%0A%09%09%09%09size = size + 1;%0D%0A%09%09%09%09makeBrushImage();%0D%0A%09%09%09%7D%0D%0A%09%09%7D%0D%0A%09%09else%0D%0A%09%09%7B%0D%0A%09%09%09size = defaultSize;%0D%0A%09%09%7D%0D%0A%09%09%0D%0A%09%09lastTime = System.currentTimeMillis();%0D%0A%09%09return super.getImage();%0D%0A%09%7D%0D%0A%0D%0A%09public StagedBrush(String name, int size, Color brushColor)%0D%0A%09%7B%0D%0A%09%09super(name, size, brushColor);%0D%0A%09%09defaultSize = size;%0D%0A%09%7D
 %0D%0A%0D%0A

Test implementation of StagedBrush.