Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public DyeColor getColor(DyeColor c) {
- switch (c) {
- case RED:
- return DyeColor.ORANGE;
- case ORANGE:
- return DyeColor.YELLOW;
- case YELLOW:
- return DyeColor.LIME;
- case LIME:
- return DyeColor.LIGHT_BLUE;
- case LIGHT_BLUE:
- return DyeColor.MAGENTA;
- case MAGENTA:
- return DyeColor.PURPLE;
- default:
- return DyeColor.PURPLE;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement