public cDamagePlayer(renderable player, cHealth playerHealth, int damageAmount, cCollider col) { pc = player; pcHealth = playerHealth; damage = damageAmount; collider = col; }
public cUIHealth(text ui, cHealth playerHealth) { uiEntity = ui; pcHealth = playerHealth; }