diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-05-08 18:38:28 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-05-09 17:59:13 -0400 |
commit | 96e6f3231aed9919d660a06944f1d96dc8241f8e (patch) | |
tree | b2e633e7df6e0251afeec8a84a69be7b5944b175 /src/prototype_manager.cpp | |
parent | 296a1c3aa0bdb27e7ee9b53f0382938d0fe6d1a0 (diff) | |
download | therapy-96e6f3231aed9919d660a06944f1d96dc8241f8e.tar.gz therapy-96e6f3231aed9919d660a06944f1d96dc8241f8e.tar.bz2 therapy-96e6f3231aed9919d660a06944f1d96dc8241f8e.zip |
Started refactoring collision detection to use directional functor
Because there was a lot of code replication with collision detection, this new implementation uses a functor that takes a parameter object describing the things that are different between the four directions. This allows the collision detection code to be writen only once. It's currently very ugly, but should work identically to before.
Diffstat (limited to 'src/prototype_manager.cpp')
0 files changed, 0 insertions, 0 deletions