pokemon-showdown/sim/index.ts
2021-06-10 09:17:58 -07:00

31 lines
611 B
TypeScript

/**
* Simulator
* Pokemon Showdown - http://pokemonshowdown.com/
*
* Here's where all the simulator APIs get exported for general use.
* `require('pokemon-showdown')` imports from here.
*
* @license MIT
*/
// battle simulation
export {Battle} from './battle';
export {BattleStream, getPlayerStreams} from './battle-stream';
export {Pokemon} from './pokemon';
export {PRNG} from './prng';
export {Side} from './side';
// dex API
export {Dex, toID} from './dex';
// teams API
export {Teams} from './teams';
export {TeamValidator} from './team-validator';
// misc libraries
export * from '../lib';