merge the new developmentbranch into the test branch #39
@@ -43,6 +43,7 @@ public void enter() {
|
|||||||
for(Map.Entry<Integer, Player> entry : logic.getGame().getPlayers().entrySet()){
|
for(Map.Entry<Integer, Player> entry : logic.getGame().getPlayers().entrySet()){
|
||||||
//logic.addNotification(new WaitMoveNotification(entry.getValue().getPieces()[0].getUuid()));
|
//logic.addNotification(new WaitMoveNotification(entry.getValue().getPieces()[0].getUuid()));
|
||||||
logic.addNotification(new MovePieceNotification(entry.getValue().getPieces()[0].getUuid(), entry.getValue().getStartNodeIndex(), true));
|
logic.addNotification(new MovePieceNotification(entry.getValue().getPieces()[0].getUuid(), entry.getValue().getStartNodeIndex(), true));
|
||||||
|
logic.getGame().getBoard().getInfield()[entry.getValue().getStartNodeIndex()].setOccupant(entry.getValue().getPieces()[0]);
|
||||||
animationCounter++;
|
animationCounter++;
|
||||||
if(entry.getKey() == logic.getOwnPlayerId()){
|
if(entry.getKey() == logic.getOwnPlayerId()){
|
||||||
//logic.addNotification(new AcquireCardNotification(entry.getValue().getHandCards().get(0)));
|
//logic.addNotification(new AcquireCardNotification(entry.getValue().getHandCards().get(0)));
|
||||||
@@ -65,7 +66,6 @@ public void exit() {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void selectAnimationEnd(){
|
public void selectAnimationEnd(){
|
||||||
System.out.println("selectAnimationEnd");
|
|
||||||
animationCounter--;
|
animationCounter--;
|
||||||
if(animationCounter != 0){
|
if(animationCounter != 0){
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user