Created
November 7, 2022 03:44
-
-
Save saitocastel1900/e9db1d56bf4f00a581d28ab5ae1b4b3d to your computer and use it in GitHub Desktop.
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
public abstract class Enemy : MonoBehaviour | |
{ | |
protected string _name; | |
protected int _hp; | |
public abstract string GetName(); | |
public abstract int GetHp(); | |
public abstract void Attack(int damaged); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment