ilianrusev

weapon

Jun 22nd, 2019
43
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package arena;
  2.  
  3. public class Weapon {
  4. private int size;
  5. private int solidity;
  6. private int sharpness;
  7.  
  8. public Weapon(int size, int solidity, int sharpness) {
  9. this.size = size;
  10. this.solidity = solidity;
  11. this.sharpness = sharpness;
  12. }
  13.  
  14. public int getSize() {
  15. return size;
  16. }
  17.  
  18. public int getSolidity() {
  19. return solidity;
  20. }
  21.  
  22. public int getSharpness() {
  23. return sharpness;
  24. }
  25. }
RAW Paste Data Copied