Skip to content

Obstacle.java#1

Open
qporion wants to merge 9 commits into
WorldWarProject:masterfrom
qporion:master
Open

Obstacle.java#1
qporion wants to merge 9 commits into
WorldWarProject:masterfrom
qporion:master

Conversation

@qporion

@qporion qporion commented Apr 3, 2015

Copy link
Copy Markdown
Contributor

public class Obstacle {

private int x,y;

public Obstacle(int x, int y) {
    this.setX(x);
    this.setY(y);
}

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 String toString(){
    return "O";
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant