Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Creature {
- double hight;
- double walkSpeed;
- boolean isHomeCat;
- public Creature(){
- }
- public double getHight(){
- return hight;
- }
- public double getWalkSpeed(){
- return walkSpeed;
- }
- public boolean isHomeCat(){
- return isHomeCat;
- }
- public Creature(double hight, double walkSpeed, boolean isHomeCat){
- this.hight = hight;
- this.walkSpeed = walkSpeed;
- this.isHomeCat = isHomeCat;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement