Package game_model

Examples of game_model.position


       
        owner = g;

        for(int i=0;i<owner.getDeck().size();i++){
            try {
              position puff = new position("hand");
              puff.setOwner(owner);
              puff.setOwn(owner.getDeck().get(i));
        hand.add(new card_view("hand",puff));
        this.add(hand.get(i));
      } catch (IOException e) {
        e.printStackTrace();
      }
View Full Code Here


          //new msg_window("Bitte zuerst eine Handkarte ausw�hlen",v);
          //System.out.println(this.pos);
        }
        else{
          if(statics.getSelected_pos()!=null && this.pos.getOwn()==null){
              position pospuff1 = this.pos.getNorth();
              position pospuff2 = this.pos.getEast();
              position pospuff3 = this.pos.getSouth();
              position pospuff4 = this.pos.getWest();
             
            this.pos.setOwn(statics.getSelected_pos().getOwn());
            this.pos.setOwner(statics.getSelected_pos().getOwner());
           
            if(pos.getOwner().equals(statics.getPlayer1()))statics.getFm().getGp().getP1hand().disposeCard(statics.getSelected_card());
View Full Code Here

TOP

Related Classes of game_model.position

Copyright © 2018 www.massapicom. 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.