Commit graph

12 commits

Author SHA1 Message Date
Sara 2dec4da52c feat: colliders now have a separate 'mask' and 'layers'
The mask decides the layers a collider collides with
2024-01-15 22:07:46 +01:00
Sara 46ef92ef92 feat: separated combat and movement collision layers 2024-01-14 22:15:10 +01:00
Sara 0c6f1dd8cf feat: reworked typeclasses to forward-declare then define
forward declarations are simplified with decl_typeclass_impl
impl_Typeclass_for now instead only define
static inline impl_Typeclass_for can be used to achieve the old behaviour
2024-01-12 09:02:42 +01:00
Sara bf23ff877a feat: replaced messagereceiver with mirror 2024-01-11 23:28:42 +01:00
Sara 9fbbd833a5 feat: enemy now looks at player when hit 2023-12-01 21:44:30 +01:00
Sara 04ade25772 chore: removed debug draws 2023-11-29 14:20:40 +01:00
Sara 26bea065b9 feat: enemy animation and hurt reaction 2023-11-29 14:20:19 +01:00
Sara 29a40ce082 feat: changed handle message signature to (T*, MessageID, uintptr_t) 2023-11-29 14:18:51 +01:00
Sara 879d72e10f feat: enemy now initializes 2 animations, and declares 3 2023-11-29 11:49:00 +01:00
Sara 87c976824e chore: added whitespace around a function 2023-11-28 10:27:26 +01:00
Sara 804d8784a3 feat: implemented basic skeleton of the enemy type 2023-11-27 19:01:11 +01:00
Sara 39999eaabd feat: created Enemy struct 2023-11-27 17:41:56 +01:00