Advertisement
Guest User

Untitled

a guest
Jun 30th, 2014
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. public class Tile {
  2.     int _x = 0;
  3.     int _y = 0;
  4.     int _type = 0;
  5.     boolean _checked = false;
  6.  
  7.     public int x {
  8.         get {
  9.             return _x;
  10.         }
  11.         set {
  12.             _x = value;
  13.         }
  14.     }
  15.     public int y {
  16.         get {
  17.             return _y;
  18.         }
  19.         set {
  20.             _y = value;
  21.         }
  22.     }
  23.     public int type {
  24.         get {
  25.             return _type;
  26.         }
  27.         set {
  28.             _type = value;
  29.         }
  30.     }
  31.     public int checked {
  32.         get {
  33.             return _checked;
  34.         }
  35.         set {
  36.             _checked = value;
  37.         }
  38.     }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement