private void Awake() { tokkenSprite = _tokkenScriptable.tokkenSprite; faction = _tokkenScriptable.faction; tokkenType = _tokkenScriptable.tokkenType; boardTokkenType = _tokkenScriptable.boardTokkenType; action = _tokkenScriptable.action; _tokkenAction = new TokkenAction(this); }
public Tokken FindFirstTokkenOfType(TokkenType type) { foreach (Tokken tokken in _deck.tokkens) { if (tokken.tokkenType == type) { return(tokken); } } return(null); }