using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CameraController : StateController<BaseCameraState> {

    [SerializeField]
    private Camera mainCamera;
    public Camera MainCamera { get { return this.mainCamera; } } 

    private GameController gameController;

    protected override void PrepareStateForInit(BaseCameraState state) {
        base.PrepareStateForInit(state);

        state.cameraController = this;
        state.gameController = this.gameController;
    }

    public void PrepareCamera (GameController gameController) {
        this.gameController = gameController;
    }
}
