Improved weapon switching
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
12
lib/features/weapon/weapons/chain_gun.dart
Normal file
12
lib/features/weapon/weapons/chain_gun.dart
Normal file
@@ -0,0 +1,12 @@
|
||||
import 'package:wolf_dart/features/weapon/weapon.dart';
|
||||
|
||||
class ChainGun extends Weapon {
|
||||
ChainGun()
|
||||
: super(
|
||||
type: WeaponType.chainGun,
|
||||
idleSprite: 432,
|
||||
fireFrames: [433, 434],
|
||||
damage: 40,
|
||||
msPerFrame: 30,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user