Exemple #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);
        }
Exemple #2
0
 public PlayerFactory(FrogFactory frogFactory)
 {
     mFrogFactory = frogFactory;
 }