Encounter / Assets / Scripts / CursedAuraInteractions.cs
CursedAuraInteractions.cs
Raw
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;

/// <summary>
/// Handles generating cursed objects and effects
/// </summary>
public class CursedAuraInteractions : MonoBehaviour
{
    private GameObject textBoxPrefab;           // Reference to the prefab of the action text box object

    private GameObject textBoxInstance;         // Text box reference for the instantiated text box
    private ActionTextBox textBox;              // Accessible reference to the component in the text box instance



    public Task RollEndEncounterEvent()
    {
        return Task.CompletedTask;
    }

    public Task RollEventPostEvent()
    {
        return Task.CompletedTask;
    }

    public Task RollEventPreEvent()
    {
        return Task.CompletedTask;
    }

    public Task RollPostBattleEvent()
    {
        return Task.CompletedTask;
    }

    private void OnEnable()
    {
        textBoxPrefab = Resources.Load<GameObject>("Prefabs/Action Text Container");
    }
}