Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
package view;
import java.awt.Image;
public class Positioner {
private Image img;
private int x, y;
public Positioner(Image img, int x, int y){
this.img = img;
this.x = x;
this.y = y;
}
public int getX(){
return this.x;
}
public int getY(){
return this.y;
}
public Image getImage(){
return this.img;
}
public void setX(int x2){
this.x = x2;
}
public void setY(int y){
this.y = y;
}
public void setImage(Image newImage){
this.img = newImage;
}
}