24 lines
451 B
Java
24 lines
451 B
Java
import java.awt.*;
|
|
|
|
public class HitResponse {
|
|
private HitResponseType type;
|
|
private Point point;
|
|
|
|
public HitResponse(HitResponseType type, Point point) {
|
|
this.type = type;
|
|
this.point = point;
|
|
}
|
|
|
|
public HitResponseType getHitResponse() {
|
|
return this.type;
|
|
}
|
|
|
|
public Point getPoint() {
|
|
return this.point;
|
|
}
|
|
|
|
public void setType(HitResponseType type) {
|
|
this.type = type;
|
|
}
|
|
}
|