| 1 |
\begin{tikzpicture} |
| 2 |
\begin{object}[text width=6cm]{Thomas' account}{0,0} |
| 3 |
\instanceOf{BankAccount} |
| 4 |
\attribute{owner = Thomas} |
| 5 |
\attribute{balance = 100} |
| 6 |
|
| 7 |
\operation{deposit(amount : Dollars)} |
| 8 |
\operation[0]{withdrawl(amount : Dollars)} |
| 9 |
\end{object} |
| 10 |
\end{tikzpicture} |