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

public class PlayManager : MonoBehaviour {

    public Timer timer;
    public Spawn_Etoile spawn_Etoile;
    public static PlayManager instance;

    public bool allMapsCollected = false;

    private void Awake()
    {
        instance = this;
    }

    public void temps_Recup()
    {
        spawn_Etoile.SpawnEtoile(timer.temps, allMapsCollected);
    }
}
