Advertisement
Guest User

Untitled

a guest
Oct 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. public class Creature {
  2.  
  3.  
  4. double hight;
  5. double walkSpeed;
  6. boolean isHomeCat;
  7.  
  8. public Creature(){
  9.  
  10. }
  11.  
  12. public double getHight(){
  13. return hight;
  14. }
  15. public double getWalkSpeed(){
  16. return walkSpeed;
  17. }
  18. public boolean isHomeCat(){
  19. return isHomeCat;
  20. }
  21. public Creature(double hight, double walkSpeed, boolean isHomeCat){
  22.  
  23. this.hight = hight;
  24. this.walkSpeed = walkSpeed;
  25. this.isHomeCat = isHomeCat;
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement