private void AddInMainController(List <IAwakeble> AwakeObjectList, MainControllers mainControllers) { foreach (IAwakeble AwakeObject in AwakeObjectList) { mainControllers.Add(AwakeObject); } }
private void AddInMainController(List <IInitialization> InitializeObjectList, MainControllers mainControllers) { foreach (IInitialization InitializeObject in InitializeObjectList) { mainControllers.Add(InitializeObject); } }
public InputController(AccelerationMove moveTransform, RotationShip rotation, Camera camera, IWeapon weapon, MainControllers mainControllers, Data data, Transform playerTransform) { _ship = new Ship(moveTransform, rotation); _camera = camera; _weapon = weapon; _mainControllers = mainControllers; _mainControllers.Add(this); _data = data; _playerTransform = playerTransform; }