Examples of NEField


Examples of de.nameless.gameEngine.gameObjects.NEField

  }

  @Override
  public void DoTransaktion(NEgameServer game) {
    NEUnit u  = game.getUnitByID(unitid);
    NEField targetField = game.getFieldByXY(way.lastElement().x, way.lastElement().y);
   
    if (u.getSquare()!=targetField) {
      oldPos = new Point((int) u.getSquare().cordX, (int) u.getSquare().cordY)
      System.out.println(oldPos);
      Vector<NEField> Fway = new Vector<NEField>();
View Full Code Here

Examples of de.nameless.gameEngine.gameObjects.NEField

 
  @Override
  public void UndoTransaction(NEgameServer game) {
    if(done){
     
      NEField sourceField = game.getFieldByXY(oldPos.x,oldPos.y);
      NEUnit u  = game.getUnitByID(unitid);
      System.out.println(sourceField);
      u.jumpTo(sourceField);
      u.releaseMovedLable();   
      done = false;
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.