Spells are now working! As well there is an example spell, Frozen Orb. The spell is made of 2 classes. the main class (FrozenOrb) is the main orb that goes a fixed distance in the direction of the mouse. The second class is the icebolts that fly out of the orb. Right now, it is assigned to a temporary keybind 2. I suggest looking at that to be able to trace from the beginning how spells are registered in the core of the game. Pretty much u create a reference version of the spell that does nothing but pass to the Map object. The Map object will call cast on the spell reference object which should return a new spell that will be activated and displayed on the screen and updated.REMEMBER WHEN RETURNING THE ACTIVE CLASS IN CAST(), YOU REMEMBER TO SET isRef TO false.
Fixed merge issues