Refactor Enemy
This commit is contained in:
23
src/system/IHasPrimaryAttack.cs
Normal file
23
src/system/IHasPrimaryAttack.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace GameJamDungeon
|
||||
{
|
||||
public interface IHasPrimaryAttack
|
||||
{
|
||||
public ElementType PrimaryAttackElementalType { set; }
|
||||
public double PrimaryAttackElementalDamageBonus { set; }
|
||||
|
||||
public void PrimaryAttack();
|
||||
}
|
||||
|
||||
public interface IHasSecondaryAttack
|
||||
{
|
||||
public ElementType SecondaryAttackElementalType { set; }
|
||||
public double SecondaryAttackElementalDamageBonus { set; }
|
||||
|
||||
public void SecondaryAttack();
|
||||
}
|
||||
|
||||
public interface IHasPrimarySkill
|
||||
{
|
||||
public void PrimarySkill();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user