Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public enum Type {
  2. BYSTANDER(0),
  3. ASSASSIN(1),
  4. BLUE(2),
  5. RED(3),
  6. INIT(4),
  7. GUESSED(5)
  8.  
  9. private Integer value;
  10.  
  11. public compare(Type type1, Type type2){
  12. return type2.value - type1.value;
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement