Add interfaces
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user