diff options
author | marcinzelent <zelent.marcin@gmail.com> | 2019-04-27 14:32:46 +0200 |
---|---|---|
committer | marcinzelent <zelent.marcin@gmail.com> | 2019-04-27 14:32:46 +0200 |
commit | 316c17c945b9133aa1094edf6de5c5f38e456d3c (patch) | |
tree | e8abd3fd6277f5bfe322048fd7fe490e24eaba6f /nGJ2019/Assets/Scripts/DragonMovement.cs | |
parent | 78bb8f508879ae0fdfec7b1970aa83bbce4c404e (diff) |
Added basic obstacles
Diffstat (limited to 'nGJ2019/Assets/Scripts/DragonMovement.cs')
-rw-r--r-- | nGJ2019/Assets/Scripts/DragonMovement.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nGJ2019/Assets/Scripts/DragonMovement.cs b/nGJ2019/Assets/Scripts/DragonMovement.cs index 4ba179d..9ae8fbb 100644 --- a/nGJ2019/Assets/Scripts/DragonMovement.cs +++ b/nGJ2019/Assets/Scripts/DragonMovement.cs @@ -205,7 +205,7 @@ public class DragonMovement : MonoBehaviour EnemyCollider enemy = other.gameObject.GetComponent<EnemyCollider>(); if(enemy != null) { - Debug.Log(enemy.type == ObstacleType.alfa ? "alfa hit" : "beta hit"); + Debug.Log(enemy.type == ObstacleType.narrowPassage ? "alfa hit" : "beta hit"); healthBar.health--; } } |