Balancing / Bugfixes / Badly antialiased turret outlines
This commit is contained in:
@@ -52,6 +52,7 @@ class Image {
|
||||
}
|
||||
|
||||
Color getColor(int x, int y){
|
||||
if(!Structs.inBounds(x, y, width(), height())) return color.set(0, 0, 0, 0);
|
||||
int i = image.getRGB(x, y);
|
||||
Color.argb8888ToColor(color, i);
|
||||
return color;
|
||||
|
||||
Reference in New Issue
Block a user