/// <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); }