Beispiel #1
0
        public ECSSim(RanitasDependencies dependencies)
        {
            FrogFactory frogFactory = new FrogFactory(dependencies.FrogData, dependencies.PondData);

            mFactory          = new PlayerFactory(frogFactory);
            mSystems          = RanitasSystems.MakeSimSystems(dependencies);
            mRenderingSystems = RanitasSystems.MakeRenderSystems(dependencies);
        }
Beispiel #2
0
 public PlayerFactory(FrogFactory frogFactory)
 {
     mFrogFactory = frogFactory;
 }