summaryrefslogtreecommitdiff
path: root/MorgSimulator/IFeedingStrategy.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/IFeedingStrategy.cs
downloadcst276-c9d655807d0046be1fa2cd19991354b703c55c87.tar.xz
cst276-c9d655807d0046be1fa2cd19991354b703c55c87.zip
feat: Implement Assignment 1 functionality
Diffstat (limited to 'MorgSimulator/IFeedingStrategy.cs')
-rw-r--r--MorgSimulator/IFeedingStrategy.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MorgSimulator/IFeedingStrategy.cs b/MorgSimulator/IFeedingStrategy.cs
new file mode 100644
index 0000000..b0344ea
--- /dev/null
+++ b/MorgSimulator/IFeedingStrategy.cs
@@ -0,0 +1,7 @@
+namespace MorgSimulator
+{
+ public interface IFeedingStrategy
+ {
+ void Feed(Morg predator, Morg prey);
+ }
+}