PlatformEnemy constructor
PlatformEnemy({})
Implementation
PlatformEnemy({
required super.position,
required super.size,
PlatformAnimations? animation,
super.initDirection,
super.speed,
super.life,
int countJumps = 1,
}) : super(
animation: animation?.toSimpleDirectionAnimation(),
) {
setupJumper(maxJump: countJumps);
}