forked from hex-agon/mastering-mixology
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76480f0
commit 650d52f
Showing
4 changed files
with
163 additions
and
81 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
src/main/java/work/fking/masteringmixology/HighlightedObject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package work.fking.masteringmixology; | ||
|
||
import net.runelite.api.TileObject; | ||
|
||
import java.awt.Color; | ||
|
||
public class HighlightedObject { | ||
|
||
private final TileObject object; | ||
private final Color color; | ||
private final boolean quickAction; | ||
|
||
public HighlightedObject(TileObject object, Color color, boolean quickAction) { | ||
this.object = object; | ||
this.color = color; | ||
this.quickAction = quickAction; | ||
} | ||
|
||
public TileObject object() { | ||
return object; | ||
} | ||
|
||
public Color color() { | ||
return color; | ||
} | ||
|
||
public boolean quickAction() { | ||
return quickAction; | ||
} | ||
|
||
public enum HighlightStyle { | ||
OUTLINE, | ||
CLICK_BOX, | ||
HULL, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.