feat(collision detection)!: Use a broadphase to make collision detection more efficient (#1252)

This commit is contained in:
Lukas Klingsbo
2022-03-07 09:08:32 +01:00
committed by GitHub
parent c61a1c18b5
commit 29dd09ca92
69 changed files with 2973 additions and 2387 deletions

View File

@ -1,8 +1,8 @@
import 'dart:ui';
import 'package:flame/components.dart';
import 'package:flame/game.dart';
import 'package:flame/palette.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
// This class only has `HasDraggables` since the game-in-game example moves a
// draggable component to this game.