class Punkt constructor: (@x, @y) -> zeichne: () -> alert(@x + "," + @y); class Rechteck extends Punkt constructor: (x, y, @b, @h) -> super x,y zeichne: () -> alert(@x + ";" + @y + ";" + @b + ";" + @h); r = new Rechteck 1,2,3,4 r.zeichne();