Ejemplo n.º 1
0
 public void InjectDependencies(GameEntityModelSubsystemFacade gameEntityModelSubsystemFacade, SpriteStorage spriteStorage, AnimatorControllerStorage animatorControllerStorage)
 {
     _gameEntityStorage                    = gameEntityModelSubsystemFacade.GameEntityStorage;
     _spriteStorage                        = spriteStorage;
     _animatorControllerStorage            = animatorControllerStorage;
     _gameEntityStorage.GameEntityCreated += OnGameEntityCreated;
 }
 public void Initialise()
 {
     _gameEntityViewStorage     = new GameEntityViewStorage();
     _spriteStorage             = new SpriteStorage();
     _animatorControllerStorage = new AnimatorControllerStorage();
 }