Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ' Gambas class file
- Inherits CondimentoDecorador
- Private beb As Bebida
- Public Sub _new(b As Bebida)
- beb = b
- End
- Public Function getDescripcion() As String
- Return beb.getDescripcion() & ", Canela"
- End
- Public Function cost() As Single
- Return 0.20 + beb.cost()
- End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement