Skip to content

Commit

Permalink
Merge pull request #730 from Leo-ZLC/master
Browse files Browse the repository at this point in the history
#91 #92 #93 #94 #95 #139 全部实验
zengsn committed May 12, 2016
2 parents f711b8f + 9eaf3c9 commit b849912
Showing 2 changed files with 52 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -8,7 +8,8 @@ public class Net1314080903142Activity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(new Nat1314080903142Playground(this));

setContentView(new Net1314080903142Playground(this));
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package edu.hzuapps.androidworks.homeworks.net1314080903142;


public class Net1314080903142Dot {

int x,y;
int status;

public static final int STATUS_ON = 1;
public static final int STATUS_OFF = 0;
public static final int STATUS_IN = 9;

public Net1314080903142Dot(int x, int y) {
super();
this.x = x;
this.y = y;
status = STATUS_OFF;
}

public int getX() {
return x;
}

public void setX(int x) {
this.x = x;
}

public int getY() {
return y;
}

public void setY(int y) {
this.y = y;
}

public int getStatus() {
return status;
}

public void setStatus(int status) {
this.status = status;
}

public void setXY(int x,int y) {
this.y = y;
this.x = x;
}


}

0 comments on commit b849912

Please sign in to comment.