Add initial resource and presenter classes for game entities and effects
This commit is contained in:
10
Code/Resources/ProjectileComponentResource.cs
Normal file
10
Code/Resources/ProjectileComponentResource.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Godot;
|
||||
|
||||
namespace CryptonymThunder.Code.Resources;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class ProjectileComponentResource : Resource
|
||||
{
|
||||
[Export] public float Speed { get; set; } = 50.0f;
|
||||
[Export] public float Lifetime { get; set; } = 5.0f;
|
||||
}
|
||||
Reference in New Issue
Block a user