29 lines
419 B
Java
29 lines
419 B
Java
package de.dj_steam.bot.domain;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
import lombok.Getter;
|
|
import lombok.ToString;
|
|
|
|
/**
|
|
* @author steam
|
|
*/
|
|
|
|
@Getter
|
|
@ToString
|
|
@EqualsAndHashCode
|
|
public class Position {
|
|
private final int x;
|
|
private final int y;
|
|
|
|
public Position() {
|
|
this.x = 0;
|
|
this.y = 0;
|
|
}
|
|
|
|
public Position(final int x, final int y) {
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
|
|
}
|