Exemplo n.º 1
0
    [Range(20f, 200f)][SerializeField] float roundTime = 60f; //timerFadeout

    void Start()
    {
        m_ObjectiveTest   = GetComponent <ObjectiveTest>();
        m_ColliderManager = GetComponent <ColliderManager>();

        roundNum = 0;
        argumentMeter.maxValue = roundTime;
        hasRoundStarted        = false;
        gameOverUI.SetActive(false);
    }
Exemplo n.º 2
0
    [Range(1f, 200f)][SerializeField] float roundTime = 60f; //timerFadeout

    void Start()
    {
        m_ObjectiveTest     = GetComponent <ObjectiveTest>();
        m_ColliderManager   = GetComponent <ColliderManager>();
        m_BasicSpawnManager = GetComponent <BasicSpawnManager>();
        // m_JoystickManager = wheelSelector.GetComponent<JoystickManager>();

        // roundNum = 0;
        argumentMeter.maxValue = roundTime;
        hasRoundStarted        = false;
        gameOverUI.SetActive(false);
    }
Exemplo n.º 3
0
        static void Main(string[] args)
        {
            IObjectiveTest multiplo15 = new Multiplo15();
            IObjectiveTest multiplo3  = new Multiplo3();
            IObjectiveTest multiplo5  = new Multiplo5();
            IObjectiveTest multiplo1  = new Multiplo1();

            var tester = new ObjectiveTest();

            tester.AddTester(multiplo15);
            tester.AddTester(multiplo5);
            tester.AddTester(multiplo3);
            tester.AddTester(multiplo1);

            tester.RunTests(100);

            Console.ReadLine();
        }