Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ' Gambas class file
- Inherits Motor
- Private mot_elec As MotorElectrico
- Public Sub _new()
- mot_elec = New MotorElectrico
- End
- Public Sub encender()
- Print "Enciendo motor electrico"
- mot_elec.concectar()
- mot_elec.activar()
- End
- Public Sub acelerar()
- Print "Acelerando motor electrico"
- mot_elec.moverMasRapido()
- End
- Public Sub apagar()
- Print "Apagando motor electrico"
- mot_elec.desconectar()
- End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement