Files
Continentis/Assets/Scripts/MainGame/Character/CharacterSubmodules/IntentionSubmodule.cs
SoulliesOfficial 9b1b5ca93f initial
2025-10-03 00:02:43 -04:00

52 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using Continentis.MainGame.Card;
using UnityEngine;
using UnityEngine.Events;
namespace Continentis.MainGame.Character
{
public class IntentionSubmodule : SubmoduleBase<CharacterBase>
{
public IntentionBase currentIntention;
public UnityAction getIntendedCards;
public List<IntendedCard> intendedCards;
public IntentionSubmodule(CharacterBase owner) : base(owner)
{
currentIntention = new IntentionBase();
getIntendedCards = owner.GetIntendedCards;
intendedCards = new List<IntendedCard>();
}
}
public class IntendedCard
{
public CardInstance cardInstance;
public List<CharacterBase> targets;
public IntendedCard(CardInstance cardInstance, List<CharacterBase> targets)
{
this.cardInstance = cardInstance;
this.targets = targets;
}
}
public class IntentionBase
{
public int guaranteedStamina = 0;
public int guaranteedMana = 0;
public int maxCardCount = 999;
public virtual void RefreshCardWeights()
{
}
public virtual void RefreshTargets()
{
}
}
}