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 fe50033
Showing
4 changed files
with
212 additions
and
92 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
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,43 @@ | ||
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 HighlightReason reason; | ||
|
||
public HighlightedObject(TileObject object, Color color, HighlightReason reason) { | ||
this.object = object; | ||
this.color = color; | ||
this.reason = reason; | ||
} | ||
|
||
public TileObject object() { | ||
return object; | ||
} | ||
|
||
public Color color() { | ||
return color; | ||
} | ||
|
||
public HighlightReason reason() { | ||
return reason; | ||
} | ||
|
||
public enum HighlightReason { | ||
STATION, | ||
QUICK_ACTION, | ||
LEVER, | ||
DIGWEED | ||
} | ||
|
||
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.