22 lines
538 B
C#
22 lines
538 B
C#
using Newtonsoft.Json.Linq;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace NEG.Utils.Achivments
|
|
{
|
|
public class AchivmentData
|
|
{
|
|
public AchivmentDefinition Achivment { get; private set; }
|
|
|
|
public int ProgressLeft { get; internal set; }
|
|
|
|
public bool IsCompleted => ProgressLeft <= 0;
|
|
|
|
public AchivmentData(AchivmentDefinition achivment, int progressLeft)
|
|
{
|
|
Achivment = achivment;
|
|
ProgressLeft = progressLeft;
|
|
}
|
|
}
|
|
} |