Reworked Magicflight.java to extend game