summaryrefslogtreecommitdiff
path: root/scripts/Enemy.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Enemy.cs')
-rw-r--r--scripts/Enemy.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/Enemy.cs b/scripts/Enemy.cs
index 6f48bd1..52eb27f 100644
--- a/scripts/Enemy.cs
+++ b/scripts/Enemy.cs
@@ -2,5 +2,9 @@ using Godot;
using System;
public partial class Enemy : Actor {
-
+ public override void performAction() {
+ Walk(Vector2I.Right);
+
+ GD.Print("Energy after walking: " + Energy);
+ }
}