Show playable cards in enemy hand

This commit is contained in:
henriquenakashima 2020-09-30 19:33:53 -04:00
parent d513657396
commit b654419966
5 changed files with 22 additions and 7 deletions

View file

@ -77,6 +77,7 @@ public class CheatBattle: MonoBehaviour
public delegate void CheatAction();
public event CheatAction OnWinCode;
public event CheatAction OnInsightCode;
private string lastCommands = "";
@ -89,6 +90,8 @@ public class CheatBattle: MonoBehaviour
if (this.lastCommands.EndsWith("win")) {
this.OnWinCode();
} else if (this.lastCommands.EndsWith("insight")) {
this.OnInsightCode();
}
}
}