|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlab7lib.Degree
public class Degree
A class to model a degree (for rotation of a shape).
| Constructor Summary | |
|---|---|
Degree()
Creates a new instance of Degree |
|
| Method Summary | |
|---|---|
java.lang.Integer |
getInteger()
Returns an Integer that represents this degree. |
Degree |
turn()
Changes the current degree by a set amount (2) each time. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Degree()
| Method Detail |
|---|
public java.lang.Integer getInteger()
public Degree turn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||