Files
wolf_dart/lib/features/weapon/weapons/machine_gun.dart
2026-03-14 15:51:23 +01:00

14 lines
370 B
Dart

import 'package:wolf_dart/features/weapon/weapon.dart';
class MachineGun extends Weapon {
MachineGun()
: super(
type: WeaponType.machineGun,
idleSprite: 427,
fireFrames: [428, 429, 430],
damage: 20,
msPerFrame: 80, // MG fires faster than the Pistol
isAutomatic: true, // This allows holding the button!
);
}