Commit graph

7 commits

Author SHA1 Message Date
Kazhnuz
4b66d15014 chore: port actors to rect and box 2020-11-27 16:03:07 +01:00
Kazhnuz
c3ee812d1a chore: put automove in physics mixin
Fixes #54
2020-11-26 21:08:29 +01:00
Kazhnuz
dcc2965431 chore: simplify hitbox applciation 2020-11-26 20:54:16 +01:00
Kazhnuz
9eb0d321c8 chore: improve semantics
- Use "apply" when you apply collision, and not check
- Use "AtPoint" when you check at a point
2020-11-26 20:41:02 +01:00
Kazhnuz
b2623cdb6a chore: refactor hitbox adding 2020-11-26 20:29:59 +01:00
Kazhnuz
f30fc6346d chore: initialize the hitbox with the physics 2020-11-26 20:18:26 +01:00
Kazhnuz
79902a097f chore: extract physics as a mixins
Fixes #52
2020-11-26 19:16:15 +01:00