예제 #1
0
 public GObject()
 {
     name = "";
     absX = -1;
     absY = -1;
     width = -1;
     height = -1;
     objects = new List<GObject>();
     owner = null;
     onClick = null;
     onMouseOver = null;
     textVisible = false;
 }
예제 #2
0
 public GObject(String nv,float xv,float yv,int wv,int hv)
 {
     name = nv;
     absX = xv;
     absY = yv;
     width = wv;
     height = hv;
     objects =new  List<GObject>();
     owner = null;
     onClick = null;
     onMouseOver = null;
     textVisible = false;
 }