This site requires JavaScript, please enable it in your browser!
Greenfoot back
Samwcool
Samwcool wrote ...

2018/11/30

What is the getScale method used here

Samwcool Samwcool

2018/11/30

#
https://www.greenfoot.org/topics/60875/0 thats the link to the thread, im wondering what the getScale was
danpost danpost

2018/12/1

#
Samwcool wrote...
https://www.greenfoot.org/topics/60875/0 thats the link to the thread, im wondering what the getScale was
It is not any method found in the greenfoot package. It was a method call thrown in to show that a scale value was to be referenced there -- as if the class had the following members:
private int scale; // (or double or float)
// and
public int getScale()
{
    return scale;
}
You need to login to post a reply.