Package cz.beranek.model

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


  @RequestMapping(value="/kupDostih.do")
  public String kupDostih(Model model,@ModelAttribute("userId") String userId,@ModelAttribute("hraId") String hraId){

    Hra hra = SpravceHer.getInstance().getHra(hraId);   
    Hrac hrac = hra.getHrac(userId);
    int res = hra.kupDostihy(hrac, 1);
    //FIXME: kupDostihy. Spring ResourceBundle na text zprav...
    switch (res){
    case 0:
      Kun k = (Kun)HerniPlan.getPole(hrac.getPozice());
      int pd = hra.getObsazeniDostihu().getDostihy(k);
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.