Examples of kupPole()


Examples of cz.beranek.model.Hra.kupPole()

    Hrac hrac = hra.getHraci().get(userId);
   
    HashMap<String, String> zprava = new HashMap<String, String>(8);
    zprava.put("typ", "koupePole");
   
    int res = hra.kupPole(hra.getHrac(userId));
    switch(res){
    case 0:
      // tady pak  pouzit odesliKoupiPole (nebo teda nakou metodu ktera to pouzije)
      zprava.put("vysledek", "true");
      zprava.put("hrac", Integer.toString(hra.getHraci().getPoradi(userId)));
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.