14 lines
390 B
C#
14 lines
390 B
C#
using Godot;
|
|
|
|
namespace Mr.BrickAdventures.scripts.Resources;
|
|
|
|
public partial class CollectableResource : Resource
|
|
{
|
|
[Export] public float Amount { get; set; } = 0.0f;
|
|
[Export] public CollectableType Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// The skill to unlock when collected. Only used when Type is Skill.
|
|
/// </summary>
|
|
[Export] public SkillData Skill { get; set; }
|
|
} |