Exemplo n.º 1
0
 private void Start()
 {
     Instance = this;
     DontDestroyOnLoad(this.gameObject);
     this.Types = new AgentType[2];
     nbFrames1  = 1000;
     nbFrames2  = 1000;
     nbSim1     = 3;
     nbSim2     = 3;
     turbo      = false;
 }
Exemplo n.º 2
0
        private void Start()
        {
            this.agentTypeManager = AgentTypeScript.Instance;

            this.endScreenManager.Disable();
            this.currentGameEngine = initialize();
            reset(this.currentGameEngine);
            this.mState = new ManagedState();

            send_type_p1(this.currentGameEngine, (sbyte)this.agentTypeManager.Types[0], AgentTypeScript.Instance.nbFrames1, AgentTypeScript.Instance.nbSim1);
            send_type_p2(this.currentGameEngine, (sbyte)this.agentTypeManager.Types[1], AgentTypeScript.Instance.nbFrames2, AgentTypeScript.Instance.nbSim2);
        }