Guest User

Untitled

a guest
Mar 24th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. public class HeroInfo {
  2. private int hp;
  3. private float power;
  4.  
  5. public HeroInfo(){ // constructor normal
  6. super();
  7. }
  8. public HeroInfo(HeroInfo info){ // THIIIISSS
  9. super();
  10. this.hp = info.hp;
  11. this.power = info.power
  12. }
  13.  
  14. //getters setters
  15. }
Add Comment
Please, Sign In to add comment