Add interfaces

This commit is contained in:
Ramtin Jafari
2026-07-07 17:15:42 +03:30
parent 01cef05115
commit d880c5c616
6 changed files with 42 additions and 0 deletions
@@ -0,0 +1,9 @@
package org.project.Interface;
import org.project.constants.gameConstant.AttackPowerUp;
public interface IDamageable {
public void TakeDamage(int amount, AttackPowerUp[] powerUps);
public boolean IsDestroyed();
public void HandleZeroHealth();
}