Mapping enemy ids to difficulties
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -36,6 +36,16 @@ class SpriteGallery extends StatelessWidget {
|
||||
if (animation != null) {
|
||||
label += "\n${animation.name}";
|
||||
}
|
||||
|
||||
// Append the Map IDs for level editing reference
|
||||
int staticBase = enemy.mapData.baseStaticId;
|
||||
int patrolBase = enemy.mapData.basePatrolId;
|
||||
|
||||
label +=
|
||||
"\nStat: $staticBase (E), ${staticBase + 1} (M), ${staticBase + 2} (H)";
|
||||
label += "\nPat: $patrolBase-${patrolBase + 3}(E)";
|
||||
label += "\nPat: ${patrolBase + 4}-${patrolBase + 7}(M)";
|
||||
label += "\nPat: ${patrolBase + 8}-${patrolBase + 11}(H)";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user