Example #1
0
        public IEnumerator <float> teslaSwipe(int id)
        {
            lockedTesla rtl = lt[id];

            rtl.locked = true;
            lt[id]     = rtl;
            yield return(Timing.WaitForSeconds(Config.cardHoldTime));

            rtl.locked = false;
            lt[id]     = rtl;
        }
Example #2
0
        public void onRoundStart()
        {
            lockedTesla temp;

            lt = new List <lockedTesla>();
            foreach (Room room in Map.Rooms)
            {
                if (room.Name.Contains("Tesla"))
                {
                    temp          = new lockedTesla();
                    temp.roomName = room.Name;
                    temp.locked   = false;
                    lt.Add(temp);
                }
            }
        }