Package de.nameless.gameEngine.system.transactions

Examples of de.nameless.gameEngine.system.transactions.NEGameTransaction


      selectedUnit = null;
    }
  }
 
  public void moveSelectedUnit(NEField target){   
    NEGameTransaction moveTX = new NEMoveUnitTransaktion(selectedUnit.getUnitId(),target.BestWay);
    client.DoTransaction(moveTX);   
    client.addToTurn(moveTX);     
  }
View Full Code Here


  public void addToTurn(NEGameTransaction t){
    turn.add(t);
  }
 
  public void removeLastFormTurn(){   
    NEGameTransaction toUndo = turn.removeLast();
    if(toUndo!=null) toUndo.UndoTransaction(gameServer);
  }
View Full Code Here

TOP

Related Classes of de.nameless.gameEngine.system.transactions.NEGameTransaction

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.