hellbound/Assets/Scripts/Game/TimeRewards/NullTimeReward.cs

16 lines
316 B
C#
Raw Normal View History

2021-11-26 11:16:25 +03:00
using game;
public class NullTimeReward : ITimeReward
{
public void Load(DataGame data) {}
public void Save(DataGame data) {}
public bool IsAvailable { get; } = false;
public bool TryGetReward(out ConfRewardItem reward)
{
reward = null;
return false;
}
}