nearly there
This commit is contained in:
@@ -138,7 +138,7 @@ function GamePanel(props) {
|
||||
const stats = [STATS.greenLife, STATS.redLife, STATS.blueLife].map((s, j) => (
|
||||
<figure key={j} alt={s.stat}>
|
||||
{s.svg(`stat-icon ${s.colour}`)}
|
||||
<figcaption>{cryp[s.stat].value} / {cryp[s.stat].max}</figcaption>
|
||||
<figcaption>1000 / 1000</figcaption>
|
||||
</figure>
|
||||
));
|
||||
|
||||
@@ -179,8 +179,10 @@ function GamePanel(props) {
|
||||
);
|
||||
}
|
||||
|
||||
const gameClasses = `game ${resolution ? 'resolving': ''}`;
|
||||
|
||||
return (
|
||||
<main className="game" onClick={() => setActiveCryp(null)} >
|
||||
<main className={gameClasses} onClick={() => setActiveCryp(null)} >
|
||||
{header}
|
||||
{timer}
|
||||
{PlayerTeam(playerTeam, setActiveSkill)}
|
||||
|
||||
Reference in New Issue
Block a user