refactor (#6)
Reviewed-on: #6
This commit was merged in pull request #6.
This commit is contained in:
@@ -10,11 +10,10 @@ public partial class SkillData : Resource
|
||||
[Export] public string Name { get; set; } = "New Skill";
|
||||
[Export] public string Description { get; set; } = "New Skill";
|
||||
[Export] public Texture2D Icon { get; set; }
|
||||
[Export] public bool IsActive { get; set; } = false;
|
||||
[Export] public int Level { get; set; } = 1;
|
||||
[Export] public SkillType Type { get; set; } = SkillType.Throw;
|
||||
[Export] public PackedScene Node { get; set; }
|
||||
[Export] public Array<SkillUpgrade> Upgrades { get; set; } = [];
|
||||
|
||||
|
||||
public int MaxLevel => Upgrades.Count;
|
||||
}
|
||||
Reference in New Issue
Block a user