summaryrefslogtreecommitdiff
path: root/MorgSimulator/IMovementStrategy.cs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-10-16 20:23:12 -0700
committerFuwn <[email protected]>2025-10-16 20:23:12 -0700
commitc9d655807d0046be1fa2cd19991354b703c55c87 (patch)
treeac14221c639baf208c01cc11ee01649d9eef05b7 /MorgSimulator/IMovementStrategy.cs
downloadcst276-c9d655807d0046be1fa2cd19991354b703c55c87.tar.xz
cst276-c9d655807d0046be1fa2cd19991354b703c55c87.zip
feat: Implement Assignment 1 functionality
Diffstat (limited to 'MorgSimulator/IMovementStrategy.cs')
-rw-r--r--MorgSimulator/IMovementStrategy.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MorgSimulator/IMovementStrategy.cs b/MorgSimulator/IMovementStrategy.cs
new file mode 100644
index 0000000..2b073e1
--- /dev/null
+++ b/MorgSimulator/IMovementStrategy.cs
@@ -0,0 +1,7 @@
+namespace MorgSimulator
+{
+ public interface IMovementStrategy
+ {
+ void Move(Morg morg, (int x, int y) newLocation);
+ }
+}