diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgf-umlcd/demo/object-include-methods.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-umlcd/demo/object-include-methods.tex | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pgf-umlcd/demo/object-include-methods.tex b/Master/texmf-dist/doc/latex/pgf-umlcd/demo/object-include-methods.tex new file mode 100644 index 00000000000..69d66da97f9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlcd/demo/object-include-methods.tex @@ -0,0 +1,10 @@ +\begin{tikzpicture} + \begin{object}[text width=6cm]{Thomas' account}{0,0} + \instanceOf{BankAccount} + \attribute{owner = Thomas} + \attribute{balance = 100} + + \operation{deposit(amount : Dollars)} + \operation[0]{withdrawl(amount : Dollars)} + \end{object} +\end{tikzpicture}
\ No newline at end of file |