Framing Basics

This commit is contained in:
2026-07-12 12:31:14 -05:00
parent 05a6eb9d3c
commit e37e4c97d9
8 changed files with 47 additions and 5 deletions
-5
View File
@@ -1,5 +0,0 @@
namespace EoM_Redux;
public class Class1
{
}
+11
View File
@@ -0,0 +1,11 @@
namespace EoM_Redux;
public class Fire : IElement
{
public int Damage { get; set; }
public Fire(int damage)
{
Damage = damage;
}
}
+6
View File
@@ -0,0 +1,6 @@
namespace EoM_Redux;
public class FireBall : ISpell
{
public SpellType Type => SpellType.Overt;
}
+5
View File
@@ -0,0 +1,5 @@
namespace EoM_Redux;
public interface IElement
{
}
+6
View File
@@ -0,0 +1,6 @@
namespace EoM_Redux;
public interface IOvertEffect
{
void ApplyEffect();
}
+6
View File
@@ -0,0 +1,6 @@
namespace EoM_Redux;
public interface ISpell
{
public SpellType Type { get; }
}
+6
View File
@@ -0,0 +1,6 @@
namespace EoM_Redux;
public interface ISubtleEffect
{
void ApplyEffect();
}
+7
View File
@@ -0,0 +1,7 @@
namespace EoM_Redux;
public enum SpellType
{
Subtle,
Overt
}