You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
683 B
31 lines
683 B
using Babushka.scripts.CSharp.Common.Fight.Actions;
|
|
|
|
namespace Babushka.scripts.CSharp.Common.Fight;
|
|
|
|
public class AllyFighters
|
|
{
|
|
public FightWorld.Fighter vesnaFighter = new()
|
|
{
|
|
type = FightWorld.Fighter.Type.Vesna,
|
|
maxHealth = 60,
|
|
availableActions =
|
|
[
|
|
new AllyAttackAction(),
|
|
new EatBeetrootAction()
|
|
]
|
|
};
|
|
public FightWorld.Fighter chuhaFighter = new()
|
|
{
|
|
type = FightWorld.Fighter.Type.Chuha,
|
|
maxHealth = 15,
|
|
availableActions =
|
|
[
|
|
new FighterAction.Skip()
|
|
]
|
|
};
|
|
|
|
public bool IsAlive()
|
|
{
|
|
return vesnaFighter.IsAlive();
|
|
}
|
|
} |