Подготовка к мерджу
This commit is contained in:
1 parent
bd495a644f
commit
97c60c0925
2 files changed
+5
-3
No files matched your search
@@ -3,6 +3,7 @@ using Code.Audio;
|
|||||||
using Code.Configs;
|
using Code.Configs;
|
||||||
using Code.Constants;
|
using Code.Constants;
|
||||||
using Code.Gameplay.Camera;
|
using Code.Gameplay.Camera;
|
||||||
|
using Code.Gameplay.Enemies;
|
||||||
using Code.Gameplay.Player;
|
using Code.Gameplay.Player;
|
||||||
using Code.Input;
|
using Code.Input;
|
||||||
using Code.Scenes;
|
using Code.Scenes;
|
||||||
@@ -27,6 +28,7 @@ namespace Code.App
|
|||||||
|
|
||||||
containerBuilder.AddSingleton(typeof(InputService), typeof(IInputService));
|
containerBuilder.AddSingleton(typeof(InputService), typeof(IInputService));
|
||||||
containerBuilder.AddSingleton(typeof(PlayerFactory), typeof(IPlayerFactory));
|
containerBuilder.AddSingleton(typeof(PlayerFactory), typeof(IPlayerFactory));
|
||||||
|
containerBuilder.AddSingleton(typeof(EnemyFactory), typeof(IEnemyFactory));
|
||||||
containerBuilder.AddSingleton(typeof(PlayerProvider), typeof(IPlayerProvider));
|
containerBuilder.AddSingleton(typeof(PlayerProvider), typeof(IPlayerProvider));
|
||||||
|
|
||||||
InitializeCamera(containerBuilder, staticDataService);
|
InitializeCamera(containerBuilder, staticDataService);
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ namespace Code.Gameplay.Enemies
|
|||||||
{
|
{
|
||||||
public class EnemyFactory : IEnemyFactory
|
public class EnemyFactory : IEnemyFactory
|
||||||
{
|
{
|
||||||
[Inject] FogConfig _fogConfig;
|
[Inject] private FogConfig _fogConfig;
|
||||||
[Inject] DrunkenGrandpaConfig _drunkenGrandpaConfig;
|
[Inject] private DrunkenGrandpaConfig _drunkenGrandpaConfig;
|
||||||
[Inject] CockroachConfig _cockroachConfig;
|
[Inject] private CockroachConfig _cockroachConfig;
|
||||||
|
|
||||||
public async UniTask<BaseEnemy> CreateEnemy(EnemyType type)
|
public async UniTask<BaseEnemy> CreateEnemy(EnemyType type)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user