using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Assets.Scripts.Managers;

public class LevelOneDay : EventTile {

	#region events
	public override void Activate () {

		_dialogueManager.NextEvent = SwitchToNight;
		base.Activate ();
		
	}
	#endregion


	#region methods
	void SwitchToNight () {

		DayNightManager.SetNight ();
		PlayerMovement.SetUserControl (false);
		GameObject.FindObjectOfType <DialogueManager> ().Play ();
		
	}
	#endregion
	
}
