MASSIVE performance improvement by fixing rendering
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -5,7 +5,12 @@ import 'package:wolf_dart/features/entities/enemies/dog.dart';
|
||||
import 'package:wolf_dart/features/entities/entity.dart';
|
||||
|
||||
typedef EntitySpawner =
|
||||
Entity? Function(int objId, double x, double y, int difficultyLevel);
|
||||
Entity? Function(
|
||||
int objId,
|
||||
double x,
|
||||
double y,
|
||||
int difficultyLevel,
|
||||
);
|
||||
|
||||
abstract class EntityRegistry {
|
||||
// Add future enemies (SSGuard, Dog, etc.) to this list!
|
||||
|
||||
Reference in New Issue
Block a user