Cleanup movement

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-14 00:59:34 +01:00
parent 46712370a4
commit a872b6fcfa
4 changed files with 76 additions and 65 deletions

View File

@@ -1,3 +1,5 @@
import 'package:wolf_dart/classes/coordinate_2d.dart';
enum EntityState { staticObj, idle, patrolling, shooting, pain, dead }
abstract class Entity<T> {
@@ -18,4 +20,6 @@ abstract class Entity<T> {
this.mapId = 0,
this.lastActionTime = 0,
});
Coordinate2D get position => Coordinate2D(x, y);
}