4procedure TStvorec.ZmenFarbu(ff:TColor);
4begin
4         f:=ff; if vid then ukaz;
4end;
4procedure TStvorec.posun(dx,dy:integer);
4var b:boolean;
4begin b:=vid; if vid then skry;
4          inc(x,dx);   inc(y,dy);
4          if b then ukaz;
4end;
4
OOP