Skip to content

Commit

Permalink
Fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Joy-less committed Dec 8, 2024
1 parent d2f4f0d commit 44672fb
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ root = true

[*]
end_of_line = lf
charset = utf8
insert_final_newline = false
indent_style = space
indent_size = 4
insert_final_newline = false
trim_trailing_whitespace = true

[*.cs]
csharp_new_line_before_open_brace = none
2 changes: 1 addition & 1 deletion GameReadyGoap.Benchmarks/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
using GameReadyGoap.Tests;
Expand Down
2 changes: 1 addition & 1 deletion GameReadyGoap.Tests/InlineTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GameReadyGoap.Tests;
namespace GameReadyGoap.Tests;

[TestClass]
public class InlineTest {
Expand Down
2 changes: 1 addition & 1 deletion GameReadyGoap.Tests/ShopkeeperTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GameReadyGoap.Tests;
namespace GameReadyGoap.Tests;

[TestClass]
public class ShopkeeperTest {
Expand Down
2 changes: 1 addition & 1 deletion GameReadyGoap/DictionaryComparer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GameReadyGoap;
namespace GameReadyGoap;

internal class DictionaryComparer<TKey, TValue> : IEqualityComparer<Dictionary<TKey, TValue>> where TKey : notnull {
public bool Equals(Dictionary<TKey, TValue>? DictA, Dictionary<TKey, TValue>? DictB) {
Expand Down
4 changes: 2 additions & 2 deletions GameReadyGoap/GoapPlan.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GameReadyGoap;
namespace GameReadyGoap;

/// <summary>
/// A sequence of actions a <see cref="GoapAgent"/> could perform to reach a <see cref="GoapGoal"/>.
Expand Down Expand Up @@ -40,7 +40,7 @@ public class GoapPlan {
// Create first step from initial states
GoapStep FirstStep = new() {
Previous = null,
Action = null,
Action = null,
PredictedStates = new(Agent.States),
TotalCost = 0,
TotalSteps = 0,
Expand Down
2 changes: 1 addition & 1 deletion GameReadyGoap/GoapSensor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.CodeAnalysis;

namespace GameReadyGoap;

Expand Down

0 comments on commit 44672fb

Please sign in to comment.