summaryrefslogtreecommitdiff
path: root/scripts/entities/actions/ItemAction.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/entities/actions/ItemAction.cs')
-rw-r--r--scripts/entities/actions/ItemAction.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/entities/actions/ItemAction.cs b/scripts/entities/actions/ItemAction.cs
deleted file mode 100644
index d5247df..0000000
--- a/scripts/entities/actions/ItemAction.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Godot;
-
-public partial class ItemAction : Action
-{
- protected ConsumableItem item;
- protected Player player;
- public ItemAction(Player player, ConsumableItem item) : base(player)
- {
- this.item = item;
- this.player = player;
- }
-
- public override bool Perform()
- {
- return item.Activate(this);
- }
-} \ No newline at end of file