summaryrefslogtreecommitdiff
path: root/scripts/Enemy.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-08-16 15:56:28 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-08-16 15:56:28 -0300
commitb05cfd5577884d1a398dbb226e2082af5fe8f8fa (patch)
tree26961e5c63e87c5d1c17422cdf6ab4493b2d8f55 /scripts/Enemy.cs
parentc411c496394c7a782854e03f2be8fab4cc1e2a81 (diff)
Sistema de turnos básico
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);
+ }
}