mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-12 21:52:37 +00:00
f632aedd15
We implement simple state machine iterators to iterate through every split type encounter array, and more finely control the path we iterate through. And, by using generics, we can have the compiler generate optimized code to avoid virtual calls. In addition to this, we shift away from the big-5 encounter types and not inherit from an abstract class. This allows for creating a PK* of a specific type and directly writing properties (no virtual calls). Plus we can now fine-tune each encounter type to call specific code, and not have to worry about future game encounter types bothering the generation routines. |
||
---|---|---|
.. | ||
BoxManip | ||
Editors | ||
Management | ||
Slots |