This site requires JavaScript, please enable it in your browser!
Greenfoot back
Bytelord

Bytelord

Welcome to my page

Bytelord's collections

This user has no collections

Recent Comments | Show All

So with this it would be perfect public Bar(String refText, String unitType, int initValue, int maxValue, int barw, int barh) { referenceText = refText; unitOfMeasure = unitType; maximumValue = maxValue; barWidth = barw; barHeight = barh; add(initValue); }
Good work, i will use this for my project. One thing you have to change: You must have the ability to change width and height per constructor!