Skip to content

Commit

Permalink
Fixed some issues with file names
Browse files Browse the repository at this point in the history
  • Loading branch information
grofit committed Sep 15, 2023
1 parent 6de3e11 commit 9956c8a
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 23 deletions.
5 changes: 2 additions & 3 deletions src/OpenRpg.Combat/Processors/Attacks/IAttackProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using OpenRpg.Combat.Attacks;
using OpenRpg.Core.Stats;
using OpenRpg.Core.Stats.Variables;

namespace OpenRpg.Combat.Processors.Attacks
{
public interface IAttackProcessor
public interface IAttackProcessor<in T> where T : IStatsVariables
{
ProcessedAttack ProcessAttack(Attack attack, IStatsVariables stats);
ProcessedAttack ProcessAttack(Attack attack, T stats);
}
}
1 change: 1 addition & 0 deletions src/OpenRpg.Core/OpenRpg.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<Description>An open source set of base components to build RPG games</Description>
<PackageTags>rpg game-development xna monogame unity godot</PackageTags>
<LangVersion>8</LangVersion>

</PropertyGroup>


Expand Down
2 changes: 0 additions & 2 deletions src/OpenRpg.Core/State/Entity/IEntityStateVariables.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using OpenRpg.Core.Stats.Variables;

namespace OpenRpg.Core.State.Entity
{
public interface IEntityStateVariables : IStateVariables
Expand Down
2 changes: 0 additions & 2 deletions src/OpenRpg.Core/Stats/Entity/IEntityStateVariables.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using OpenRpg.Core.Stats.Variables;

namespace OpenRpg.Core.Stats.Entity
{
public interface IEntityStatsVariables : IStatsVariables
Expand Down
2 changes: 0 additions & 2 deletions src/OpenRpg.Core/Stats/IHasStats.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using OpenRpg.Core.Stats.Variables;

namespace OpenRpg.Core.Stats
{
public interface IHasStats<out T> where T : IStatsVariables
Expand Down
13 changes: 0 additions & 13 deletions src/OpenRpg.Core/Stats/Variables/DefaultStatsVariables.cs

This file was deleted.

2 changes: 1 addition & 1 deletion src/OpenRpg.Core/Types/CoreVariableTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public interface CoreVariableTypes
public static int Unknown = 0;

// Base Types
public static int StatsVariables = 1;
public static int EntityStatsVariables = 1;
public static int RaceTemplateVariables = 2;
public static int ClassTemplateVariables = 3;
public static int ClassVariables = 4;
Expand Down

0 comments on commit 9956c8a

Please sign in to comment.