public ECSSim(RanitasDependencies dependencies) { FrogFactory frogFactory = new FrogFactory(dependencies.FrogData, dependencies.PondData); mFactory = new PlayerFactory(frogFactory); mSystems = RanitasSystems.MakeSimSystems(dependencies); mRenderingSystems = RanitasSystems.MakeRenderSystems(dependencies); }
public PlayerFactory(FrogFactory frogFactory) { mFrogFactory = frogFactory; }