public void setUp() { Fi.startEngine(); pokemonFactory = new PokemonFactory(); calculations = new BattleCalculations(); pokemonBattleManager = new PokemonBattleManager(); }
public void start() { itemDelegates = new Dictionary <int, ItemDelegate>(); moves = new Dictionary <int, MoveDelegate>(); pokemonManager = new PokemonBattleManager(); loadItemDelegates(); loadMoveDelegates(); }
private void Awake() { _battleManager = PokemonBattleManager.Instance; _eventSystem = EventSystem.current; if (_informationObject == null) { var informationUI = PokemonBattleManager.Instance._uiManager._mainUI._informationUI; _informationObject = informationUI; } }
private void Awake() { if (instance != null) { Destroy(gameObject); } else { instance = this; } }