Fuck nothing works

This commit is contained in:
juliuse98
2021-11-11 09:08:18 +01:00
parent ea8394bd16
commit 2f530971c0
28 changed files with 3198 additions and 305 deletions

View File

@@ -0,0 +1,41 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class oneVsOneStateMashine : MonoBehaviour
{
public int state = 0;
public const int TOTALSTATES = 4;
void StateMashineRound()
{
switch (state)
{
case 0:
//respawn players
break;
case 1:
//Let the players walk and kill each other
//if one team gets killed go to next state
break;
case 2:
//stop player movement
break;
case 3:
//show score board
break;
default:
break;
}
}
void switchState()
{
state++;
if (state >= TOTALSTATES)
{
state = 0;
}
}
}