Decouple the engine from Flutter entirely
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
11
packages/wolf_3d_data/lib/src/io/engine_input.dart
Normal file
11
packages/wolf_3d_data/lib/src/io/engine_input.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
import 'package:wolf_3d_entities/wolf_3d_entities.dart';
|
||||
|
||||
class EngineInput {
|
||||
bool isMovingForward = false;
|
||||
bool isMovingBackward = false;
|
||||
bool isTurningLeft = false;
|
||||
bool isTurningRight = false;
|
||||
bool isInteracting = false;
|
||||
bool isFiring = false;
|
||||
WeaponType? requestedWeapon;
|
||||
}
|
||||
@@ -3,5 +3,6 @@
|
||||
/// More dartdocs go here.
|
||||
library;
|
||||
|
||||
export 'src/io/engine_input.dart';
|
||||
export 'src/wl_parser.dart' show WLParser;
|
||||
export 'src/wolfenstein_loader.dart' show WolfensteinLoader;
|
||||
|
||||
@@ -12,6 +12,7 @@ publish_to: none
|
||||
|
||||
dependencies:
|
||||
wolf_3d_data_types:
|
||||
wolf_3d_entities:
|
||||
|
||||
dev_dependencies:
|
||||
lints: ^6.0.0
|
||||
|
||||
Reference in New Issue
Block a user