Files
AllMusic/core/objs/hud/PosObj.java
T
2024-04-17 22:15:12 +08:00

30 lines
666 B
Java

package coloryr.allmusic.core.objs.hud;
import coloryr.allmusic.core.objs.enums.HudDirType;
public class PosObj {
public int x;
public int y;
public HudDirType dir;
public int color;
public boolean shadow;
public boolean enable;
public PosObj() {
}
public PosObj(int x, int y, HudDirType type, int color, boolean shadow, boolean enable) {
this.x = x;
this.y = y;
this.dir = type;
this.color = color;
this.shadow = shadow;
this.enable = enable;
}
public PosObj copy() {
return new PosObj(this.x, this.y, this.dir, this.color, this.shadow, this.enable);
}
}