summaryrefslogtreecommitdiff
path: root/MorgSimulator/Framework/IMovementStrategy.cs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-11-20 19:17:14 -0800
committerFuwn <[email protected]>2025-11-20 19:17:14 -0800
commit9858b069ea4264840d98094e2e36ad2517f2215f (patch)
tree367ac8bcab6107ef8dfa4be524f834a5336d9bc3 /MorgSimulator/Framework/IMovementStrategy.cs
parentfeat: Add Assignment 2 diagrams (diff)
downloadcst276-9858b069ea4264840d98094e2e36ad2517f2215f.tar.xz
cst276-9858b069ea4264840d98094e2e36ad2517f2215f.zip
feat: Implement Assignment 3 functionality
Diffstat (limited to 'MorgSimulator/Framework/IMovementStrategy.cs')
-rw-r--r--MorgSimulator/Framework/IMovementStrategy.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MorgSimulator/Framework/IMovementStrategy.cs b/MorgSimulator/Framework/IMovementStrategy.cs
new file mode 100644
index 0000000..bb8d13d
--- /dev/null
+++ b/MorgSimulator/Framework/IMovementStrategy.cs
@@ -0,0 +1,7 @@
+namespace MorgSimulator.Framework
+{
+ public interface IMovementStrategy
+ {
+ void Move(Entity entity, (int x, int y) newLocation);
+ }
+}