package net.coobird.paint.brush;

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

}

package net.coobird.paint.brush;

import java.awt.Color;
import java.awt.image.BufferedImage;

public class StagedBrush extends RegularCircularBrush
{
	long lastTime = 0;
	int defaultSize = 0;

	@Override
	public BufferedImage getImage()
	{
		long timePast = System.currentTimeMillis() - lastTime;
		
		if (timePast < 100)
		{
			if (size < 60)
			{
				size = size + 1;
				makeBrushImage();
			}
		}
		else
		{
			size = defaultSize;
		}
		
		lastTime = System.currentTimeMillis();
		return super.getImage();
	}

	public StagedBrush(String name, int size, Color brushColor)
	{
		super(name, size, brushColor);
		defaultSize = size;
	}

}

Test implementation of StagedBrush.