From 7de3727297d65e87bab2a18de307cea04a33b212 Mon Sep 17 00:00:00 2001 From: Baptiste Date: Sun, 23 Jul 2023 16:01:54 -0400 Subject: [PATCH] no message --- Assets/Scripts/Entity.cs | 2 +- Assets/Scripts/Opponent/Opponent.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Entity.cs b/Assets/Scripts/Entity.cs index 40fd6e2..598493b 100644 --- a/Assets/Scripts/Entity.cs +++ b/Assets/Scripts/Entity.cs @@ -82,7 +82,7 @@ public class Entity : LevelObject } } - public void move() { + public void Move() { if(!_animation.IsWalking) { _animation.PlayWalkAnim(); } diff --git a/Assets/Scripts/Opponent/Opponent.cs b/Assets/Scripts/Opponent/Opponent.cs index 7a43575..14a2451 100644 --- a/Assets/Scripts/Opponent/Opponent.cs +++ b/Assets/Scripts/Opponent/Opponent.cs @@ -25,7 +25,7 @@ public class Opponent : Entity transform.position += (Vector3)_movementVector; - move(); + Move(); }