using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Janus;

[Script(ScriptRole.View)]
public class DinoDashView : MonoBehaviour
{
	DinoDashLogic _logic;

	void Awake ()
	{
		_logic = GetComponent<DinoDashLogic>();
	}

	void OnSpawn ()
	{
		MusicPlayer.FadeOut();
	}
	
	void OnMinigamePlayerAssigned (MinigamePlayer player)
	{
		player.Avatar.GetComponent<DinoView>().SetColor(player.SlotColor);
	}
	
	void OnMinigamePlayerUnassigned (MinigamePlayer player)
	{
	}

	void OnDespawn ()
	{
	}
}