Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
实验所需全部文件已上传
  • Loading branch information
Leo-ZLC committed May 12, 2016
1 parent 34b10e5 commit 9eaf3c9
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 9eaf3c9

Please sign in to comment.