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

16 lines
316 B
C#
Raw Normal View History

2021-12-29 20:50:11 +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;
}
}