コード例 #1
0
 /// <summary>
 /// Decreases the player's health.
 /// Is called in response to a collision of the player with an asteroid.
 /// PLANNED: Interaction with the Health bar; Player animation  (CRITICAL CONDITION)
 /// </summary>
 public void PlayerHit()
 {
     hb.DecreaseHealth();
 }