mixedcards/Assets/Battle/PlayerAction.cs
2020-09-26 18:52:30 -04:00

25 lines
503 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerAction
{
private bool turnPassed;
private HeroCard cardUsed;
public PlayerAction(HeroCard cardUsed) {
if (cardUsed != null) {
this.cardUsed = cardUsed;
} else {
this.turnPassed = true;
}
}
public bool IsTurnPassed() {
return this.turnPassed;
}
public HeroCard GetCardUsed() {
return this.cardUsed;
}
}