Health/Assets/RobotController.cs

33 lines
608 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Yoga;
public class RobotController : MonoBehaviour
{
public void CheckAction(AvatarAction action)
{
EventManager.Instance.Dispatch("EstimateAction", action);
}
public void FinishCurrentActionCheck()
{
EventManager.Instance.Dispatch("ScoreUpdate");
}
}
public enum AvatarAction
{
HeadTurnLeft,
HeadTurnRight,
HeadTurnUp,
HeadTurnDown,
LeftLateralHead,
RightLateralHead,
FinishCurrentAction,
HeadShake,
Nod,
HandsUp,
HandsHold,
None
}