MaKiPL / OpenVIII-monogame

Open source Final Fantasy VIII engine implementation in C# working on Windows and Linux (Android and iOS planned too!) [Monogame]
MIT License
641 stars 59 forks source link

Removed Character and VisibleCharacter from Menu_Base replaced with Damageable #133

Closed Sebanisu closed 5 years ago

Sebanisu commented 5 years ago

Removed Character and VisibleCharacter from Menu_Base replaced with Damageable. Damageable is the parent abstract class to Enemy, GFData, CharacterData. The idea being instead of keeping two enums that only works with ChracterData, we will now store a reference that can be used on any of them. Eventually I want to have debug menus controlling enemies maybe even give them a debug ATB bar and hp so we can see it work. Most of the commands are menu friendly. None of the background code is in yet though so the commands don't do anything yet except end turns.

I also fixed a couple bugs caused from this change and ones I didn't know were there. :)