summaryrefslogtreecommitdiff
path: root/MorgSimulator/Framework/IEntityFactory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MorgSimulator/Framework/IEntityFactory.cs')
-rw-r--r--MorgSimulator/Framework/IEntityFactory.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/MorgSimulator/Framework/IEntityFactory.cs b/MorgSimulator/Framework/IEntityFactory.cs
new file mode 100644
index 0000000..37da19d
--- /dev/null
+++ b/MorgSimulator/Framework/IEntityFactory.cs
@@ -0,0 +1,9 @@
+namespace MorgSimulator.Framework
+{
+ public interface IEntityFactory<T> where T : Entity
+ {
+ T CreateEntity(int id, string type, int x, int y, string movement, string feeding);
+ IMovementStrategy CreateMovementStrategy(string movementType);
+ IFeedingStrategy CreateFeedingStrategy(string behavior);
+ }
+}