@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user