sample
Class UkkoSample.Ukko
java.lang.Object
fi.jyu.mit.graphics.BasicShape
fi.jyu.mit.graphics.BasicDrawableCollection
fi.jyu.mit.graphics.DrawableCollection
sample.UkkoSample.Ukko
- All Implemented Interfaces:
- Drawable, Transformable
- Enclosing class:
- UkkoSample
public static class UkkoSample.Ukko
- extends DrawableCollection
Ukko-luokka josta saadaa viite toiseen käteen
- Author:
- vesal
|
Constructor Summary |
UkkoSample.Ukko(double dx,
double dy)
Alustetaan ukko haluttuun paikkaa |
UkkoSample.Ukko(double dx,
double dy,
double s,
double deg,
Color color)
Alustetaan ukko haluttuun paikkaan ja kokoon |
| Methods inherited from class fi.jyu.mit.graphics.BasicShape |
changeTransform, draw, getColor, getPoint, getRotator, getRotator, getTransform, getTransform, initGraphics, move, rotate, scale, setColor, setColor, setParent, setRotator, setTransform, transform |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UkkoSample.Ukko
public UkkoSample.Ukko(double dx,
double dy)
- Alustetaan ukko haluttuun paikkaa
- Parameters:
dx - ukon pään keskipistedy - ukon pään keskipiste
UkkoSample.Ukko
public UkkoSample.Ukko(double dx,
double dy,
double s,
double deg,
Color color)
- Alustetaan ukko haluttuun paikkaan ja kokoon
- Parameters:
dx - ukon pään keskipistedy - ukon pään keskipistes - ukon skaalauskerroindeg - ukon kiertokulma Z-akselin suhteencolor - ukon väri
getKasi
public Drawable getKasi()
- Returns:
- palautetaan viite ukon toisen käteen