summaryrefslogtreecommitdiff
path: root/MorgSimulator/Factory/IMorgFactory.cs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-10-30 17:01:14 -0700
committerFuwn <[email protected]>2025-10-30 17:01:14 -0700
commit5cdde428a7f966f17f0a94eca7b94fbf1e499838 (patch)
tree5f94122032752e2561009ef1c5e5b6641c5fb73c /MorgSimulator/Factory/IMorgFactory.cs
parentrefactor(diagrams): Move present diagrams to assignment folder (diff)
downloadcst276-5cdde428a7f966f17f0a94eca7b94fbf1e499838.tar.xz
cst276-5cdde428a7f966f17f0a94eca7b94fbf1e499838.zip
feat: Implement Assignment 2 functionality
Diffstat (limited to 'MorgSimulator/Factory/IMorgFactory.cs')
-rw-r--r--MorgSimulator/Factory/IMorgFactory.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/MorgSimulator/Factory/IMorgFactory.cs b/MorgSimulator/Factory/IMorgFactory.cs
new file mode 100644
index 0000000..60537de
--- /dev/null
+++ b/MorgSimulator/Factory/IMorgFactory.cs
@@ -0,0 +1,9 @@
+namespace MorgSimulator.Factory
+{
+ public interface IMorgFactory
+ {
+ Morg CreateMorg(int id, string type, int x, int y, string movement, string feeding);
+ IMovementStrategy CreateMovementStrategy(string movementType);
+ IFeedingStrategy CreateFeedingStrategy(string behavior);
+ }
+}