test enemy images
This commit is contained in:
@@ -29,7 +29,7 @@ class BattleHeader extends StatelessWidget {
|
||||
break;
|
||||
}
|
||||
|
||||
return "Tier $tier $tierName - $round";
|
||||
return "$tierName - $round";
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
@@ -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,
|
||||
), // 적 이미지
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user