parent
cfe604d3b7
commit
730c4999d7
@ -0,0 +1,13 @@
|
|||||||
|
namespace Babushka.scripts.CSharp.Common.Farming;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// State of a farm field.
|
||||||
|
/// </summary>
|
||||||
|
public enum FieldState
|
||||||
|
{
|
||||||
|
Empty = 0,
|
||||||
|
Tilled = 1,
|
||||||
|
Planted = 2,
|
||||||
|
Watered = 3,
|
||||||
|
NotFound = 99
|
||||||
|
}
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
namespace Babushka.scripts.CSharp.Common.Farming;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// State of a harvestable plant. Used in farming.
|
||||||
|
/// </summary>
|
||||||
|
public enum PlantState
|
||||||
|
{
|
||||||
|
None = 0,
|
||||||
|
Planted = 1,
|
||||||
|
SmallPlant = 2,
|
||||||
|
BigPlant = 3,
|
||||||
|
Ready = 4
|
||||||
|
}
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
namespace Babushka.scripts.CSharp.Common.Fight;
|
||||||
|
|
||||||
|
public class FightAttack
|
||||||
|
{
|
||||||
|
public int damage;
|
||||||
|
public bool needsSelectedTarget;
|
||||||
|
public Fighter? target;
|
||||||
|
public Fighter attacker;
|
||||||
|
}
|
||||||
Loading…
Reference in new issue