added forge addon
This commit is contained in:
29
addons/forge/editor/attributes/AttributeValues.cs
Normal file
29
addons/forge/editor/attributes/AttributeValues.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
// Copyright © Gamesmiths Guild.
|
||||
|
||||
using Godot;
|
||||
|
||||
namespace Gamesmiths.Forge.Godot.Editor.Attributes;
|
||||
|
||||
[Tool]
|
||||
public partial class AttributeValues : Resource
|
||||
{
|
||||
[Export]
|
||||
public int Default { get; set; }
|
||||
|
||||
[Export]
|
||||
public int Min { get; set; }
|
||||
|
||||
[Export]
|
||||
public int Max { get; set; }
|
||||
|
||||
public AttributeValues()
|
||||
{
|
||||
}
|
||||
|
||||
public AttributeValues(int @default, int min, int max)
|
||||
{
|
||||
Default = @default;
|
||||
Min = min;
|
||||
Max = max;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user