public GetDrawableItems(IBoard board, IScoreManager scoreManager, ILevelManager levelManager, IRotationManager rotationManager) { _board = board; _scoreManager = scoreManager; _levelManager = levelManager; _rotationManager = rotationManager; }
private void ObtainInterfaces() { _moveInput = AbstractFactory.Get <IGameplayTypeFactory>().GetNew <IMovementInputDevice>(); _cameraInput = AbstractFactory.Get <IGameplayTypeFactory>().GetNew <ICameraInputDevice>(); _moveManager = AbstractFactory.Get <IGameplayTypeFactory>().GetNew <IVelocityManager>(); _rotationManager = AbstractFactory.Get <IGameplayTypeFactory>().GetNew <IRotationManager>(); // Network stuff _friendPreviewManager = AbstractFactory.Get <IGameplayTypeFactory>().GetNew <IFriendPreviewManager>(); _networkTransform = AbstractFactory.Get <IGameplayTypeFactory>().GetNew <INetworkTransformManager>(); }
public GameManager(IRotationManager rotationManager, ILevelManager levelManager, IScoreManager scoreManager) { _rotationManager = rotationManager; _levelManager = levelManager; _scoreManager = scoreManager; }