-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added the object and the json mapping
- Loading branch information
tiemonl
committed
Feb 6, 2020
1 parent
7075b7a
commit 5f59555
Showing
5 changed files
with
151 additions
and
38 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package dev.garlicbread; | ||
|
||
public class ButtonColors { | ||
private ButtonRgb startButtonGreen; | ||
private ButtonRgb castButtonBlue; | ||
private ButtonRgb colorCloseItGotAwayButton; | ||
private ButtonRgb colorTimerCaughtFishKong; | ||
private ButtonRgb colorTimerCaughtFishSteam; | ||
private ButtonRgb colorJunkItem; | ||
private ButtonRgb oneHundredCatchColor; | ||
private ButtonRgb fullRangeCastColor; | ||
|
||
public ButtonRgb getStartButtonGreen() { return startButtonGreen; } | ||
public void setStartButtonGreen(ButtonRgb value) { this.startButtonGreen = value; } | ||
|
||
public ButtonRgb getCastButtonBlue() { return castButtonBlue; } | ||
public void setCastButtonBlue(ButtonRgb value) { this.castButtonBlue = value; } | ||
|
||
public ButtonRgb getColorCloseItGotAwayButton() { return colorCloseItGotAwayButton; } | ||
public void setColorCloseItGotAwayButton(ButtonRgb value) { this.colorCloseItGotAwayButton = value; } | ||
|
||
public ButtonRgb getColorTimerCaughtFishKong() { return colorTimerCaughtFishKong; } | ||
public void setColorTimerCaughtFishKong(ButtonRgb value) { this.colorTimerCaughtFishKong = value; } | ||
|
||
public ButtonRgb getColorTimerCaughtFishSteam() { return colorTimerCaughtFishSteam; } | ||
public void setColorTimerCaughtFishSteam(ButtonRgb value) { this.colorTimerCaughtFishSteam = value; } | ||
|
||
public ButtonRgb getColorJunkItem() { return colorJunkItem; } | ||
public void setColorJunkItem(ButtonRgb value) { this.colorJunkItem = value; } | ||
|
||
public ButtonRgb getOneHundredCatchColor() { return oneHundredCatchColor; } | ||
public void setOneHundredCatchColor(ButtonRgb value) { this.oneHundredCatchColor = value; } | ||
|
||
public ButtonRgb getFullRangeCastColor() { return fullRangeCastColor; } | ||
public void setFullRangeCastColor(ButtonRgb value) { this.fullRangeCastColor = value; } | ||
} | ||
|
||
class ButtonRgb { | ||
private int red; | ||
private int green; | ||
private int blue; | ||
|
||
public int getRed() { return red; } | ||
public void setRed(int value) { this.red = value; } | ||
|
||
public int getGreen() { return green; } | ||
public void setGreen(int value) { this.green = value; } | ||
|
||
public int getBlue() { return blue; } | ||
public void setBlue(int value) { this.blue = value; } | ||
} |
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
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,42 @@ | ||
{ | ||
"startButtonGreen": { | ||
"red": 139, | ||
"green": 202, | ||
"blue": 24 | ||
}, | ||
"castButtonBlue": { | ||
"red": 31, | ||
"green": 153, | ||
"blue": 197 | ||
}, | ||
"colorCloseItGotAwayButton": { | ||
"red": 31, | ||
"green": 153, | ||
"blue": 197 | ||
}, | ||
"colorTimerCaughtFishKong": { | ||
"red": 56, | ||
"green": 255, | ||
"blue": 56 | ||
}, | ||
"colorTimerCaughtFishSteam": { | ||
"red": 59, | ||
"green": 255, | ||
"blue": 59 | ||
}, | ||
"colorJunkItem": { | ||
"red": 255, | ||
"green": 255, | ||
"blue": 255 | ||
}, | ||
"oneHundredCatchColor": { | ||
"red": 71, | ||
"green": 255, | ||
"blue": 3 | ||
}, | ||
"fullRangeCastColor": { | ||
"red": 26, | ||
"green": 118, | ||
"blue": 241 | ||
} | ||
} |