Health System

This commit is contained in:
ThomasCharester committed 2026-11-17 18:44:54 +03:00
1 parent 329cc98ade
commit cb05da5e89
87 files changed
+568550 -155362

No files matched your search

@@ -0,0 +1,9 @@
namespace Code.OfficeGame.BattleMode.Effects
{
public abstract class AttackEffect : Effect
{
public override EffectType Type => EffectType.Attack;
public abstract void Apply(in int damage);
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3c79610673054e9581c567f2081e6e61
timeCreated: 1794908752
@@ -0,0 +1,9 @@
namespace Code.OfficeGame.BattleMode.Effects
{
public abstract class DefenseEffect : Effect
{
public override EffectType Type => EffectType.Defense;
public abstract void Apply(in int damage);
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 132a126a84724b3db4f97a0d92f06391
timeCreated: 1794908824
@@ -0,0 +1,7 @@
namespace Code.OfficeGame.BattleMode.Effects
{
public abstract class Effect
{
public abstract EffectType Type { get; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 2ed8c557058f438d80c8770ee426a6ec
timeCreated: 1794908460
@@ -0,0 +1,9 @@
namespace Code.OfficeGame.BattleMode.Effects
{
public enum EffectType
{
Attack,
Defense
// , Action
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: ee15bd2f5ef14b3bbc6445bc9bdef60a
timeCreated: 1794908476