Show playable cards in enemy hand
This commit is contained in:
parent
d513657396
commit
b654419966
5 changed files with 22 additions and 7 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue