BambooSoftware / tloll

0 stars 0 forks source link

Vector math #33

Closed michaelplatt07 closed 7 years ago

michaelplatt07 commented 7 years ago

Introduced the Vector3 class that we will be using for movement from now on. The Unit class has a Vector3 that tracks the speed and can have basic Vector addition math done on it (addition and subtraction implemented for now; more to come if necessary). Did some basic clean up of TODO's that I introduced as I was working on it. Refactored the max speeds of the player in every direction so the name more aptly suites the value it represents. Added a couple more TODO's that I noticed we should handle. Code should function as it did before. This branch was solely to introduce the Vector3 class. Optimizations to come in later branches.