Target acquired

Lots of good progress with the lock-on system today. At it’s best i was able to lock the camera onto a flying orb and then swap the camera’s focus between it and another orb. However i had made the class used in the function a class named ‘Dummy’ and as such had to replace it with the class ‘Enemy’. This caused many of the references to the class to need reworking which took some time. Afterwards i realized i could have simply renamed the class. towards the end of the day i worked on making the system prioritize the closest enemy when targeting and then cycle between enemies with one button and other targets with another. After that i will fins a way to cycle between targets in a way that cycles between all of them rather than the two closest to the player.