18 lines
418 B
C#
18 lines
418 B
C#
|
|
using Cielonos.Core.Interaction;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace Cielonos.MainGame.Interactions
|
||
|
|
{
|
||
|
|
public class ExitGate : InteractableObjectBase
|
||
|
|
{
|
||
|
|
protected override void InitializeChoices()
|
||
|
|
{
|
||
|
|
choices.Add(new InteractionChoice("Go to Next Zone", GoToNextZone));
|
||
|
|
}
|
||
|
|
|
||
|
|
private void GoToNextZone()
|
||
|
|
{
|
||
|
|
MapManager.Instance.GoToNextZone();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|