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