Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface Balloon {
- /**
- * Method Balloon
- *
- *
- */
- double health;
- Location location;
- double moveSpeed;
- double damage;
- double moneyReturned;
- /*
- *@param h The amount of health a balloon has
- *@param loc The location of the balloon
- *@param m The velocity of the balloon
- *@param d The amount of damage a balloon does to the castle
- *@param mR The amount of money returned from destroying a balloon
- */
- public Balloon(double h, Location loc, double m, double d, double mR) {
- h = health;
- loc = location;
- m = moveSpeed;
- d = damage;
- mR = moneyReturned;
- }
- public double getHealth(){
- return health;
- }
- public Location getLocation(){
- return location;
- }
- public double getMoveSpeed(){
- return moveSpeed;
- }
- public double getDamage(){
- return damage;
- }
- public double getMoney(){
- return moneyReturned;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment