mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 06:51:36 +00:00
a2a4d5d709
fixed #419 fixed #418
22 lines
535 B
C#
22 lines
535 B
C#
using QSB.Utility;
|
|
using QSB.WorldSync;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.Animation.NPC.WorldObjects
|
|
{
|
|
internal abstract class NpcAnimController<T> : WorldObject<T>, INpcAnimController
|
|
where T : MonoBehaviour
|
|
{
|
|
public abstract CharacterDialogueTree GetDialogueTree();
|
|
|
|
public virtual void StartConversation()
|
|
=> GetDialogueTree().RaiseEvent("OnStartConversation");
|
|
|
|
public virtual void EndConversation()
|
|
=> GetDialogueTree().RaiseEvent("OnEndConversation");
|
|
|
|
public virtual bool InConversation()
|
|
=> false;
|
|
}
|
|
}
|