25 lines
503 B
C#
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;
|
|
}
|
|
}
|