package com.temporal;

import ashley.core.Component;

public class Health extends Component
{
    public int current;
    public int max;

    public Health(int currHealth, int maxHealth)
    {
        current = currHealth;
        max = maxHealth;
    }
}

package com.temporal;

import ashley.core.Component;

public class Health extends Component
{
    public int current;
    public int max;

    public Health(int maxHealth)
    {
        current = max = maxHealth;
    }
}

Change Health to have 1-param constructor