nearly there

This commit is contained in:
ntr
2019-05-02 16:54:30 +10:00
parent 6c13dc0d15
commit 3f457092d3
2 changed files with 13 additions and 9 deletions
+4 -2
View File
@@ -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)}