Scriptum/Assets/Scripts/REFACTORING/Application/Mission/Mission.cs
2022-12-04 20:48:40 +01:00

36 lines
687 B
C#

using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[Serializable]
[CreateAssetMenu(fileName = "New Mission", menuName = "Mission/New Mission")]
public class Mission : ScriptableObject
{
[SerializeField]
public MissionStatusEnum Status = MissionStatusEnum.None;
[SerializeField]
int CurrentStep = 0;
[SerializeField]
public List<MissionStepModel> MissionStepsList;
public void CheckIfComplete()
{
Debug.Log("Checkl if complete");
}
public void Accept()
{
Status = MissionStatusEnum.Accepted;
}
public void Reject()
{
Status = MissionStatusEnum.Rejected;
}
}