Added difficulty screen

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-13 19:20:06 +01:00
parent 827d858f0f
commit 01d8329969
6 changed files with 156 additions and 27 deletions

19
lib/classes/entity.dart Normal file
View File

@@ -0,0 +1,19 @@
enum EntityState { staticObj, idle, patrolling, shooting, pain, dead }
class Entity {
double x;
double y;
int spriteIndex;
double angle;
EntityState state;
int mapId;
Entity({
required this.x,
required this.y,
required this.spriteIndex,
this.angle = 0.0,
this.state = EntityState.staticObj,
this.mapId = 0,
});
}