Advertisement
AyrA

Cell class

May 12th, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Option Explicit
  2.  
  3. Private pX As Integer
  4. Private pY As Integer
  5.  
  6. Public Property Get x() As Integer
  7.     x = pX
  8. End Property
  9.  
  10. Public Property Get y() As Integer
  11.     y = pY
  12. End Property
  13.  
  14. Public Property Let x(newX As Integer)
  15.     pX = newX
  16. End Property
  17.  
  18. Public Property Let y(newY As Integer)
  19.     pY = newY
  20. End Property
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement