vstup/kočka-a-pes-oop.dot
author František Kučera <franta-hg@frantovo.cz>
Tue, 10 Jan 2012 10:56:22 +0100
changeset 82 90a58fca78e5
parent 65 0b00c324e644
permissions -rw-r--r--
Dokumentace: javadoc.

digraph G {	
	bgcolor="transparent";
	
	
	// Třídy:
	node	[shape = "record"];
	Pes		[label = "{Pes|+ kouše : boolean\l|+ štěkej() : void\l}"];
	Kočka	[label = "{Kočka|+ spí : boolean\l|+ mňoukej() : void\l}"];
	Zvíře	[label = "{Zvíře|+ jméno : string\l+ věk : int\l|+ běhej() : void\l}"];
	
	
	// Dědičnost:
	edge	[arrowhead = "empty"];
	
	Pes		->	Zvíře;
	Kočka	->	Zvíře;
}