2017-04-21 22:50:48 +02:00
|
|
|
package de.dj_steam.bot.domain;
|
|
|
|
|
2017-04-22 17:26:00 +02:00
|
|
|
import lombok.EqualsAndHashCode;
|
2017-04-21 22:50:48 +02:00
|
|
|
import lombok.Getter;
|
|
|
|
import lombok.ToString;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author steam
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Getter
|
|
|
|
@ToString
|
2017-04-22 17:26:00 +02:00
|
|
|
@EqualsAndHashCode
|
2017-04-21 22:50:48 +02:00
|
|
|
public class Position {
|
|
|
|
private int x;
|
|
|
|
private int y;
|
|
|
|
|
|
|
|
public Position() {
|
|
|
|
this.x = 0;
|
|
|
|
this.y = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Position(final int x, final int y) {
|
|
|
|
this.x = x;
|
|
|
|
this.y = y;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|