mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 02:42:55 +00:00
Made color and alpha components global among ScriptOverlay classes.
This commit is contained in:
1 parent
534f716991
commit
be61bd4e17
11 files changed
+71
-37
No files matched your search
@@ -14,4 +14,12 @@ public interface ICustomOverlayComponent {
|
||||
int getAlignment();
|
||||
|
||||
void setAlignment(int alignment);
|
||||
|
||||
int getColor();
|
||||
|
||||
ICustomOverlayComponent setColor(int color);
|
||||
|
||||
float getAlpha();
|
||||
|
||||
void setAlpha(float alpha);
|
||||
}
|
||||
@@ -11,10 +11,6 @@ public interface IOverlayLabel extends ICustomOverlayComponent {
|
||||
|
||||
IOverlayLabel setSize(int var1, int var2);
|
||||
|
||||
int getColor();
|
||||
|
||||
IOverlayLabel setColor(int var1);
|
||||
|
||||
float getScale();
|
||||
|
||||
IOverlayLabel setScale(float var1);
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
package noppes.npcs.scripted.interfaces;
|
||||
|
||||
import noppes.npcs.scripted.overlay.ScriptOverlayLine;
|
||||
|
||||
public interface IOverlayLine extends ICustomOverlayComponent {
|
||||
int getX1();
|
||||
int getY1();
|
||||
int getX2();
|
||||
int getY2();
|
||||
int getColor();
|
||||
int getThickness();
|
||||
|
||||
void setX1(int x1);
|
||||
void setY1(int y1);
|
||||
void setX2(int x2);
|
||||
void setY2(int y2);
|
||||
void setColor(int color);
|
||||
void setThickness(int thickness);
|
||||
}
|
||||
Reference in new issue
Block a user