Merge remote-tracking branch 'origin/gamelib' into gamelib

This commit is contained in:
Yannik Bretschneider 2021-05-01 23:54:40 +02:00
commit 889e4cf233

View File

@ -50,6 +50,7 @@ class GameLogic {
.setTargetField(data.targetField) //when this event gets handled, the character already moved to the target field .setTargetField(data.targetField) //when this event gets handled, the character already moved to the target field
.setAmount(1) .setAmount(1)
.type(EventType.ConsumedMPEvent)); .type(EventType.ConsumedMPEvent));
//TODO: execute character swap in GameLogic.executeRequest
} }
case ExchangeInfinityStoneRequest, UseInfinityStoneRequest -> { case ExchangeInfinityStoneRequest, UseInfinityStoneRequest -> {
CharacterRequest data = (CharacterRequest)request; CharacterRequest data = (CharacterRequest)request;