-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enemies don't spam hurt sounds from Fireball
- Loading branch information
Showing
6 changed files
with
35 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
public interface IDamagable { | ||
void InflictDamage (float damage); | ||
using UnityEngine; | ||
|
||
public interface IDamagable | ||
{ | ||
void InflictDamage(float damage, Component source = null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
using UnityEngine; | ||
|
||
public interface IGameHealthIndicationItem{ | ||
public interface IGameHealthIndicationItem | ||
{ | ||
int GetHealthAmount(); | ||
GameObject GetGameObject (); | ||
GameObject GetGameObject(); | ||
void Kill(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
public interface IGameManager{ | ||
void GameLost(); | ||
void GameStart(); | ||
void GamePause(); | ||
void GameRestart(); | ||
void GameWin(); | ||
public interface IGameManager | ||
{ | ||
void GameLost(); | ||
void GameStart(); | ||
void GamePause(); | ||
void GameRestart(); | ||
void GameWin(); | ||
} |