Class Interaktionsbrett.Linie

java.lang.Object
  extended by Interaktionsbrett.Geo
      extended by Interaktionsbrett.Linie
Enclosing class:
Interaktionsbrett

 class Interaktionsbrett.Linie
extends Interaktionsbrett.Geo


Field Summary
 
Fields inherited from class Interaktionsbrett.Geo
x, y
 
Constructor Summary
Interaktionsbrett.Linie(int x, int y, int x2, int y2)
           
 
Method Summary
 boolean istEnthalten(int x, int y)
           
 void verschieben(int dx, int dy)
           
 void zeichnen(java.awt.Graphics2D g)
           
 
Methods inherited from class Interaktionsbrett.Geo
getX, getY, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interaktionsbrett.Linie

public Interaktionsbrett.Linie(int x,
                               int y,
                               int x2,
                               int y2)
Method Detail

istEnthalten

public boolean istEnthalten(int x,
                            int y)
Specified by:
istEnthalten in class Interaktionsbrett.Geo

verschieben

public void verschieben(int dx,
                        int dy)
Overrides:
verschieben in class Interaktionsbrett.Geo

zeichnen

public void zeichnen(java.awt.Graphics2D g)
Specified by:
zeichnen in class Interaktionsbrett.Geo