Examples of achieveTrophy()


Examples of org.gamejolt.GameJoltAPI.achieveTrophy()

   
    // Get Trophies
    ArrayList<Trophy> trophies = api.getTrophies();
   
    // Achieve a Trophy
    api.achieveTrophy(TROPHY_ID);
   
    //get single trophy and check if it is achieved
    Trophy t = api.getTrophy(TROPHY_ID);
    if (!t.isAchieved()){
      System.err.println("Trophy was achieved, but is not marked achieved...");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.