﻿using UnityEngine;
using System.Collections;

public class SceneSprit : MonoBehaviour {
    [SerializeField]
    private GameObject QuadFamily;
    [SerializeField]
    private GameObject QuadBlack;
    [SerializeField]
    private GameObject QuadAlarm;
    [SerializeField]
    private GameObject QuadCall;
    [SerializeField]
    private GameObject Quad3;
    [SerializeField]
    private GameObject Quad4;

    [SerializeField]
    private GameObject Heah;
    private bool _isAlarm = false;
    // Use this for initialization
    void Start () {
	
	}
	
	// Update is called once per frame
    public void DisplayFamilyPic()
    {
        _isAlarm = false;
        QuadFamily.SetActive(true);
        QuadAlarm.SetActive(false);
        QuadCall.SetActive(false);
    }
    public void DisplayAlarmPic()
    {
        _isAlarm = true;
        QuadAlarm.SetActive(true);
        QuadCall.SetActive(false);
        QuadBlack.SetActive(false);
    }

    public void DisplayCallPic()
    {
        _isAlarm = false;
        QuadAlarm.SetActive(false);
        QuadBlack.SetActive(false);
        QuadCall.SetActive(true);
    }

    void Update () {
	if (_isAlarm)
        {

        }
	}
}
