Writing the Attack System Part 1 - C++ GameDev