Original Post
Hello, i am a little new to javascript, but i have been programming in c++ for a few years.
i was wondering, i have some code for character movement in my game that id like to put into a class for better reusability and readability. The code works fine as is, but a class would make for better scalability in my project. but classes in javascript are different than that in c++, can anyone help point me in the right direction please? Any help would be much appreciated...and please dont flame me....i need help XD