diff options
| author | Fuwn <[email protected]> | 2025-11-20 19:17:14 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-11-20 19:17:14 -0800 |
| commit | 9858b069ea4264840d98094e2e36ad2517f2215f (patch) | |
| tree | 367ac8bcab6107ef8dfa4be524f834a5336d9bc3 /MorgSimulator/Framework/IEntityFactory.cs | |
| parent | feat: Add Assignment 2 diagrams (diff) | |
| download | cst276-9858b069ea4264840d98094e2e36ad2517f2215f.tar.xz cst276-9858b069ea4264840d98094e2e36ad2517f2215f.zip | |
feat: Implement Assignment 3 functionality
Diffstat (limited to 'MorgSimulator/Framework/IEntityFactory.cs')
| -rw-r--r-- | MorgSimulator/Framework/IEntityFactory.cs | 9 |
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); + } +} |