Newer
Older
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class OpponentController : Controller
{
public static event Action<int> handChange;
private float offsetDistance;
void Start()
{
setup();
currentHand = 1;
if (handChange != null)
{
handChange(currentHand);
}
myTurn = false;
canMove = true;
canSkill = true;
changeTurn();
}
private void setup()
{
animatorController = GetComponent<Animator>();
}
private void Update()
{
/*
inputs.steal = UnityEngine.Random.Range(0, 2);
inputs.crossOver = UnityEngine.Random.Range(0, 2);
*/
}
public override void changeTurn()