Rename Hitbox mixin to HasHitboxes (#1060)

This commit is contained in:
Lukas Klingsbo
2021-11-02 12:44:21 +01:00
committed by GitHub
parent d9984c7bda
commit 3a8abe139b
13 changed files with 21 additions and 20 deletions

View File

@ -25,7 +25,7 @@ direction.
enum Shapes { circle, rectangle, polygon }
abstract class MyCollidable extends PositionComponent
with Draggable, Hitbox, Collidable {
with Draggable, HasHitboxes, Collidable {
double rotationSpeed = 0.0;
final Vector2 velocity;
final delta = Vector2.zero();