Advertisement
Lisenochek

Untitled

Dec 27th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. package ru.lisenochek.realistic;
  2.  
  3. import org.bukkit.entity.Player;
  4.  
  5. import java.util.HashMap;
  6.  
  7. public class DiseaseClass {
  8.  
  9. public static HashMap<Player, DiseaseClass> playerList = new HashMap<>();
  10. private boolean blooding;
  11. private boolean brokenBones;
  12.  
  13. public DiseaseClass() {
  14. blooding = false;
  15. brokenBones = false;
  16. }
  17.  
  18. public boolean getBlood() {
  19. return this.blooding;
  20. }
  21.  
  22. public boolean getBrokenBones() {
  23. return this.brokenBones;
  24. }
  25.  
  26. public boolean setBlood() {
  27. return this.blooding = true;
  28. }
  29.  
  30. public boolean setBrokenBones() {
  31. return this.brokenBones = true;
  32. }
  33.  
  34. public boolean removeBlood() {
  35. return this.blooding = false;
  36. }
  37.  
  38. public boolean removeBrokenBones() {
  39. return this.brokenBones = false;
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement