Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setHP(int value){
- Random HP_secure= new Random();
- HP = value+HP_secure;
- HP_ac = value+HP_secure;
- }
- int getHP(){
- if(value != HP_ac){
- gameclose()
- exit;
- }
- return hp^HP_secure;
- }
Advertisement
Add Comment
Please, Sign In to add comment