test enemy images

This commit is contained in:
2025-12-09 15:16:23 +09:00
parent bb3b34c9b1
commit f57714b22c
5 changed files with 27 additions and 13 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class BattleHeader extends StatelessWidget {
break;
}
return "Tier $tier $tierName - $round";
return "$tierName - $round";
}
@override
+9 -10
View File
@@ -109,12 +109,10 @@ class CharacterStatusCard extends StatelessWidget {
BattleAnimationWidget(
key: animationKey,
child: Container(
width: 100, // 임시 크기
height: 100, // 임시 크기
width: isPlayer ? 100 : 200, // 플레이어 100, 적 200
height: isPlayer ? 100 : 200, // 플레이어 100, 적 200
decoration: BoxDecoration(
color: isPlayer
? Colors.lightBlue
: Colors.deepOrange, // 플레이어/적 구분 색상
color: isPlayer ? Colors.lightBlue : null,
borderRadius: BorderRadius.circular(8),
),
child: Center(
@@ -124,11 +122,12 @@ class CharacterStatusCard extends StatelessWidget {
size: 60,
color: ThemeConfig.textColorWhite,
) // 플레이어 아이콘
: const Icon(
Icons.psychology,
size: 60,
color: ThemeConfig.textColorWhite,
), // 적 아이콘 (몬스터 대신)
: Image.asset(
'assets/data/enemy/enemy_01.png',
width: 200,
height: 200,
fit: BoxFit.contain,
), // 적 이미지
),
),
),