I tweaked a bit movement values and changed some variable names, I also added spectator "mode" (mode changing not implemented yet)
29 lines
541 B
C#
29 lines
541 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace TTTSC.Player
|
|
{
|
|
public class PlayerStateMachine : MonoBehaviour
|
|
{
|
|
public enum playerPlayStates
|
|
{
|
|
Spectator,
|
|
Alive
|
|
};
|
|
|
|
public playerPlayStates currentPlayerPlayState;
|
|
|
|
public enum playerClass
|
|
{
|
|
Spectator,
|
|
Preparing,
|
|
Innocent,
|
|
Detective,
|
|
Traitor
|
|
};
|
|
|
|
public playerClass currentPlayerClass;
|
|
}
|
|
}
|
|
|