module mod_vtm_aufbau { /** * @author kcf */ export class klasse_schreiber implements schnittstelle_aktor { /** * @author kcf */ private symbol : typ_symbol; /** * @author kcf */ private richtung : typ_richtung; /** * @author kcf */ public constructor(symbol : int = 0, richtung : int = 0) { this.symbol = symbol; this.richtung = richtung; } /** * @author kcf * @implementation */ public verwenden(figur : klasse_figur) : void { figur.band_schreiben(this.symbol); figur.bewegen(this.richtung); } } }