Advertisement
jsbsan

auto

Nov 29th, 2013
2,438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GAMBAS 0.76 KB | None | 0 0
  1. ' Gambas class file
  2.  
  3. Private cantidadDePuertas As Integer
  4. Private modelo As String
  5. Private marca As String
  6. Private CaracteristicasMoTor As Motor
  7.  
  8. Public Function getCantidadDePuertas() As Integer
  9.  
  10.   Return cantidadDePuertas
  11.  
  12. End
  13.  
  14. Public Sub setCantidadDePuertas(cantidad As Integer)
  15.  
  16.   cantidadDePuertas = cantidadDePuertas
  17.  
  18. End
  19.  
  20. Public Function getModelo() As String
  21.  
  22.   Return modelo
  23.  
  24. End
  25.  
  26. Public Sub setModelo(m As String)
  27.  
  28.   modelo = m
  29.  
  30. End
  31.  
  32. Public Function getmarca() As String
  33.  
  34.   Return marca
  35.  
  36. End
  37.  
  38. Public Sub setmarca(m As String)
  39.  
  40.   marca = m
  41.  
  42. End
  43.  
  44. Public Function getMotor() As Motor
  45.  
  46.   Return CaracteristicasMoTor
  47.  
  48. End
  49.  
  50. Public Sub setmotor(m As Motor)
  51.  
  52.   CaracteristicasMoTor = m
  53.  
  54. End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement