Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void scorecount(Hero myhero){
- if (!star.isScored() && Intersector.overlaps(myhero.getBoundingBalloon(), star.getStarCircle()))
- {
- addScore(1); // give one plus always
- star.setScored(true);
- AssetLoader.coin.play();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement