Exemplo n.º 1
0
 /// <summary>
 /// This sets up the bot to know which side it is playing on.
 /// </summary>
 public void Init(int index)
 {
     myState      = FighterState.getFighter(index);
     enemyState   = FighterState.getFighter(index == 0 ? 1 : 0);
     inputAdapter = new MemoryInputAdapter(index);
 }
Exemplo n.º 2
0
		/// <summary>
        /// This sets up the bot to know which side it is playing on.
        /// </summary>
        public void Init(int index)
        {
            myState = FighterState.getFighter(index);
            enemyState = FighterState.getFighter(index == 0 ? 1 : 0);
            inputAdapter = new MemoryInputAdapter(index);
        }