Package org.pokenet.server.battle.impl

Examples of org.pokenet.server.battle.impl.PvPBattleField


              otherPlayer.getY() >= this.getY() - 96 ||
              otherPlayer.getY() <= this.getY() + 96) {
            /* This is a valid battle, start it */
            ensureHealthyPokemon();
            otherPlayer.ensureHealthyPokemon();
            m_battleField = new PvPBattleField(
                DataService.getBattleMechanics(),this, otherPlayer);
            return;
          } else {
            m_tcpSession.write("r!3");
          }
View Full Code Here


              return;
            case ENABLED:
              /* This is a valid battle, start it */
              ensureHealthyPokemon();
              otherPlayer.ensureHealthyPokemon();
              m_battleField = new PvPBattleField(
                  DataService.getBattleMechanics(),this, otherPlayer);
              return;
            }
          } else {
            m_battleField = new PvPBattleField(
                DataService.getBattleMechanics(),this, otherPlayer);
          }
          break;
        case TRADE:
          if(canTrade() && otherPlayer.canTrade()) {
View Full Code Here

TOP

Related Classes of org.pokenet.server.battle.impl.PvPBattleField

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.