Class Interaktionsbrett.Rechteck
java.lang.Object
Interaktionsbrett.Geo
Interaktionsbrett.Rechteck
- Enclosing class:
- Interaktionsbrett
class Interaktionsbrett.Rechteck extends Interaktionsbrett.Geo
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Rechteck(int x, int y, int breite, int hoehe)
-
Method Summary
-
Constructor Details
-
Rechteck
public Rechteck(int x, int y, int breite, int hoehe)
-
-
Method Details
-
getBreite
public int getBreite() -
setBreite
public void setBreite(int breite) -
getHoehe
public int getHoehe() -
setHoehe
public void setHoehe(int hoehe) -
istEnthalten
public boolean istEnthalten(int x1, int y1)- Specified by:
istEnthalten
in classInteraktionsbrett.Geo
-
zeichnen
public void zeichnen(java.awt.Graphics2D g)- Specified by:
zeichnen
in classInteraktionsbrett.Geo
-