using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SVGImporter;
using I2.Loc;

[CreateAssetMenu(menuName = "Actions/Action")]
public class ActionAsset : ScriptableObject {

    public SVGAsset icon;
    [TermsPopup]
    public string descriptionKey;
    public GameController.FloodState availableState;

    public int moneyCost;
    public int energyCost;

    public virtual void Action(Tile targetTile)
    {
        GameController.Instance.energy -= energyCost;
        GameController.Instance.money -= moneyCost;
    }

}
