summaryrefslogtreecommitdiff
path: root/scripts/interfaces/IDamageable.cs
diff options
context:
space:
mode:
authoralex <[email protected]>2026-07-24 23:33:46 +0200
committeralex <[email protected]>2026-07-24 23:33:46 +0200
commit91fd5d80808fd177f97c4cc7e78b704efb5d6ce3 (patch)
treefc0dee06eae293afb5e429fa0956455aee585f01 /scripts/interfaces/IDamageable.cs
parent6b666c7f25121e61bf1c58ee65cb2cd0f254b887 (diff)
downloadgodot-testing-91fd5d80808fd177f97c4cc7e78b704efb5d6ce3.tar.xz
godot-testing-91fd5d80808fd177f97c4cc7e78b704efb5d6ce3.zip
improved stats resource, weapon now uses dmg from player stats
Diffstat (limited to 'scripts/interfaces/IDamageable.cs')
-rw-r--r--scripts/interfaces/IDamageable.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/interfaces/IDamageable.cs b/scripts/interfaces/IDamageable.cs
new file mode 100644
index 0000000..e7d6b99
--- /dev/null
+++ b/scripts/interfaces/IDamageable.cs
@@ -0,0 +1,6 @@
+namespace testing.interfaces;
+
+public interface IDamageable
+{
+ void TakeDamage(float amount);
+} \ No newline at end of file