From 20e5a15d2ea937c264802ba37b90767cffaf79a2 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:17:16 -0400 Subject: [PATCH 01/17] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 330a159..804a2bd 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Battle -A POC to build the battle logic for a turn based game idea, similar to [XCOM](https://en.wikipedia.org/wiki/XCOM) and [Jagged Alliance](https://en.wikipedia.org/wiki/Jagged_Alliance_(series)). +# Turn Based Engine (TBE) +A project that builds out the logic for a turn based engine/ game idea, similar to [XCOM](https://en.wikipedia.org/wiki/XCOM) and [Jagged Alliance](https://en.wikipedia.org/wiki/Jagged_Alliance_(series)). [![.NET Build](https://github.com/samsmithnz/Battle/actions/workflows/dotnet.yml/badge.svg)](https://github.com/samsmithnz/Battle/actions/workflows/dotnet.yml) [![Coverage Status](https://coveralls.io/repos/github/samsmithnz/Battle/badge.svg?branch=main)](https://coveralls.io/github/samsmithnz/Battle?branch=main) From 98fa38401f0fa8cc7a2b9a7198f1585d6115cae3 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:17:37 -0400 Subject: [PATCH 02/17] Update GitVersion.yml --- GitVersion.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GitVersion.yml b/GitVersion.yml index 4c817b9..75f099c 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1 +1 @@ -next-version: 1.0.0 +next-version: 1.1.0 From dfad8ac1cad36fc3039cbd62a0f396d9418a2234 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:20:07 -0400 Subject: [PATCH 03/17] Update Battle.sln --- src/Battle.sln | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Battle.sln b/src/Battle.sln index c4905f7..59b765e 100644 --- a/src/Battle.sln +++ b/src/Battle.sln @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31825.309 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Battle.Logic", "Battle.Logic\Battle.Logic.csproj", "{CD6CFAD2-FFD0-43C2-BEDA-12A3372F1D63}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TBE.Logic", "TBE.Logic\TBE.Logic.csproj", "{CD6CFAD2-FFD0-43C2-BEDA-12A3372F1D63}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Battle.Tests", "Battle.Tests\Battle.Tests.csproj", "{559A147B-1E66-4CEF-9C48-39CA3A58D515}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TBE.Tests", "TBE.Tests\TBE.Tests.csproj", "{559A147B-1E66-4CEF-9C48-39CA3A58D515}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{CAD1E8DC-8371-4858-8461-E6DBB6821A99}" ProjectSection(SolutionItems) = preProject @@ -14,7 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ..\README.md = ..\README.md EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Battle.PerformanceProfiling", "Battle.PerformanceProfiling\Battle.PerformanceProfiling.csproj", "{E37F2E9A-B3D1-4428-B50F-F3CA767A5FF1}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TBE.PerformanceProfiling", "TBE.PerformanceProfiling\TBE.PerformanceProfiling.csproj", "{E37F2E9A-B3D1-4428-B50F-F3CA767A5FF1}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution From 369250ef5195db31fa40c7bfc1aeb5f7c22d61d6 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:20:15 -0400 Subject: [PATCH 04/17] Rename Battle.sln to TBE.sln --- src/{Battle.sln => TBE.sln} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/{Battle.sln => TBE.sln} (100%) diff --git a/src/Battle.sln b/src/TBE.sln similarity index 100% rename from src/Battle.sln rename to src/TBE.sln From 595d370ab0c094450e50d814ea33c764f5522474 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:20:43 -0400 Subject: [PATCH 05/17] Update and rename Battle.Tests.csproj to TBE.Tests.csproj --- src/Battle.Tests/{Battle.Tests.csproj => TBE.Tests.csproj} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/Battle.Tests/{Battle.Tests.csproj => TBE.Tests.csproj} (95%) diff --git a/src/Battle.Tests/Battle.Tests.csproj b/src/Battle.Tests/TBE.Tests.csproj similarity index 95% rename from src/Battle.Tests/Battle.Tests.csproj rename to src/Battle.Tests/TBE.Tests.csproj index c697636..cab54ad 100644 --- a/src/Battle.Tests/Battle.Tests.csproj +++ b/src/Battle.Tests/TBE.Tests.csproj @@ -20,7 +20,7 @@ - + From be2591c7b4beae2d0834718d8c86adee12c65032 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:21:00 -0400 Subject: [PATCH 06/17] Update Battle.PerformanceProfiling.csproj --- .../Battle.PerformanceProfiling.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Battle.PerformanceProfiling/Battle.PerformanceProfiling.csproj b/src/Battle.PerformanceProfiling/Battle.PerformanceProfiling.csproj index b0abf42..ad4dd80 100644 --- a/src/Battle.PerformanceProfiling/Battle.PerformanceProfiling.csproj +++ b/src/Battle.PerformanceProfiling/Battle.PerformanceProfiling.csproj @@ -6,7 +6,7 @@ - + From de9ece333ec699423fd8767e2b7f60f1f99e4544 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:21:27 -0400 Subject: [PATCH 07/17] Update and rename Battle.Logic.csproj to TBE.Logic.csproj --- src/Battle.Logic/{Battle.Logic.csproj => TBE.Logic.csproj} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/Battle.Logic/{Battle.Logic.csproj => TBE.Logic.csproj} (79%) diff --git a/src/Battle.Logic/Battle.Logic.csproj b/src/Battle.Logic/TBE.Logic.csproj similarity index 79% rename from src/Battle.Logic/Battle.Logic.csproj rename to src/Battle.Logic/TBE.Logic.csproj index a02a463..185aab5 100644 --- a/src/Battle.Logic/Battle.Logic.csproj +++ b/src/Battle.Logic/TBE.Logic.csproj @@ -2,7 +2,7 @@ netstandard2.0 - https://github.com/samsmithnz/Battle + https://github.com/samsmithnz/TurnBasedEngine From 211f7477801a0f258426adf76783d12b196c78f1 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:24:31 -0400 Subject: [PATCH 08/17] Update devcontainer.json --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f6ed13f..cf00ac1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -26,7 +26,7 @@ ], // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "dotnet restore src/Battle.sln", + "postCreateCommand": "dotnet restore src/TBE.sln", // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode", From f4027718a0ea64764a6d70edc3357df5b61b5ced Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:25:10 -0400 Subject: [PATCH 09/17] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 804a2bd..26c4b5d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Turn Based Engine (TBE) A project that builds out the logic for a turn based engine/ game idea, similar to [XCOM](https://en.wikipedia.org/wiki/XCOM) and [Jagged Alliance](https://en.wikipedia.org/wiki/Jagged_Alliance_(series)). -[![.NET Build](https://github.com/samsmithnz/Battle/actions/workflows/dotnet.yml/badge.svg)](https://github.com/samsmithnz/Battle/actions/workflows/dotnet.yml) +[![.NET Build](https://github.com/samsmithnz/TurnBasedEngine/actions/workflows/dotnet.yml/badge.svg)](https://github.com/samsmithnz/TurnBasedEngine/actions/workflows/dotnet.yml) [![Coverage Status](https://coveralls.io/repos/github/samsmithnz/Battle/badge.svg?branch=main)](https://coveralls.io/github/samsmithnz/Battle?branch=main) [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=samsmithnz_Battle&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=samsmithnz_Battle) -[![Current Release](https://img.shields.io/github/release/samsmithnz/Battle/all.svg)](https://github.com/samsmithnz/Battle/releases) +[![Current Release](https://img.shields.io/github/release/samsmithnz/TurnBasedEngine/all.svg)](https://github.com/samsmithnz/TurnBasedEngine/releases) ### Current features include: - Basic map generation, in 2d world, with x and z axis (y axis to come later) From 47d68d6b9733b84a829f448289c3a22bccc04001 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:25:53 -0400 Subject: [PATCH 10/17] Update launch.json --- .vscode/launch.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 9184e2a..4df1e6a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,9 +10,9 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/src/Battle.Tests/bin/Debug/netcoreapp3.1/Battle.Tests.dll", + "program": "${workspaceFolder}/src/TBE.Tests/bin/Debug/netcoreapp3.1/TBE.Tests.dll", "args": [], - "cwd": "${workspaceFolder}/src/Battle.Tests", + "cwd": "${workspaceFolder}/src/TBE.Tests", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console "console": "internalConsole", "stopAtEntry": false @@ -23,4 +23,4 @@ "request": "attach" } ] -} \ No newline at end of file +} From f86820a90f278d99d2bc304f379c2aea03da1471 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:26:12 -0400 Subject: [PATCH 11/17] Update tasks.json --- .vscode/tasks.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index cf61ec9..88514f6 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -7,7 +7,7 @@ "type": "process", "args": [ "build", - "${workspaceFolder}/src/Battle.Tests/Battle.Tests.csproj", + "${workspaceFolder}/src/TBE.Tests/TBE.Tests.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], @@ -19,7 +19,7 @@ "type": "process", "args": [ "publish", - "${workspaceFolder}/src/Battle.Tests/Battle.Tests.csproj", + "${workspaceFolder}/src/TBE.Tests/TBE.Tests.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], @@ -32,11 +32,11 @@ "args": [ "watch", "run", - "${workspaceFolder}/src/Battle.Tests/Battle.Tests.csproj", + "${workspaceFolder}/src/TBE.Tests/TBE.Tests.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" } ] -} \ No newline at end of file +} From 324a17b61e39ee61a0ccbb17da74d7c93ce90336 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:30:15 -0400 Subject: [PATCH 12/17] updated file paths and readme --- README.md | 4 ++-- .../AbilitiesAndEffects/Ability.cs | 0 .../AbilitiesAndEffects/AbilityAndEffectType.cs | 0 .../AbilitiesAndEffects/AbilityPool.cs | 0 src/{Battle.Logic => TBE.Logic}/AbilitiesAndEffects/Effect.cs | 0 src/{Battle.Logic => TBE.Logic}/Characters/Character.cs | 0 src/{Battle.Logic => TBE.Logic}/Characters/CharacterAI.cs | 0 src/{Battle.Logic => TBE.Logic}/Characters/CharacterAction.cs | 0 src/{Battle.Logic => TBE.Logic}/Characters/CharacterCover.cs | 0 .../Characters/CharacterMovement.cs | 0 src/{Battle.Logic => TBE.Logic}/Characters/CharacterPool.cs | 0 src/{Battle.Logic => TBE.Logic}/Characters/CoverState.cs | 0 src/{Battle.Logic => TBE.Logic}/Characters/Experience.cs | 0 src/{Battle.Logic => TBE.Logic}/Encounters/AIAction.cs | 0 src/{Battle.Logic => TBE.Logic}/Encounters/DamageRange.cs | 0 src/{Battle.Logic => TBE.Logic}/Encounters/Encounter.cs | 0 src/{Battle.Logic => TBE.Logic}/Encounters/EncounterCore.cs | 0 src/{Battle.Logic => TBE.Logic}/Encounters/EncounterResult.cs | 0 src/{Battle.Logic => TBE.Logic}/Encounters/MovementAction.cs | 0 src/{Battle.Logic => TBE.Logic}/Encounters/Range.cs | 0 src/{Battle.Logic => TBE.Logic}/Game/Mission.cs | 0 src/{Battle.Logic => TBE.Logic}/Game/MissionObjective.cs | 0 src/{Battle.Logic => TBE.Logic}/Game/Team.cs | 0 src/{Battle.Logic => TBE.Logic}/Game/TeamUtility.cs | 0 src/{Battle.Logic => TBE.Logic}/GlobalSuppressions.cs | 0 src/{Battle.Logic => TBE.Logic}/Items/Item.cs | 0 src/{Battle.Logic => TBE.Logic}/Items/ItemPool.cs | 0 src/{Battle.Logic => TBE.Logic}/Items/Weapon.cs | 0 src/{Battle.Logic => TBE.Logic}/Items/WeaponPool.cs | 0 src/{Battle.Logic => TBE.Logic}/Map/CoverType.cs | 0 src/{Battle.Logic => TBE.Logic}/Map/FieldOfView.cs | 0 src/{Battle.Logic => TBE.Logic}/Map/MapCore.cs | 0 src/{Battle.Logic => TBE.Logic}/Map/MapGeneration.cs | 0 src/{Battle.Logic => TBE.Logic}/Map/MapTile.cs | 0 src/{Battle.Logic => TBE.Logic}/Map/MapTileItem.cs | 0 src/{Battle.Logic => TBE.Logic}/Map/MovementPossibileTiles.cs | 0 src/{Battle.Logic => TBE.Logic}/Map/PathFinding.cs | 0 src/{Battle.Logic => TBE.Logic}/Map/PathFindingResult.cs | 0 .../Research/ResearchController.cs | 0 src/{Battle.Logic => TBE.Logic}/Research/ResearchItem.cs | 0 src/{Battle.Logic => TBE.Logic}/Research/ResearchPool.cs | 0 .../SaveGames/GameSerialization.cs | 0 src/{Battle.Logic => TBE.Logic}/TBE.Logic.csproj | 0 src/{Battle.Logic => TBE.Logic}/Utility/RandomNumberQueue.cs | 0 src/{Battle.Logic => TBE.Logic}/Utility/RandomNumbers.cs | 0 src/{Battle.Logic => TBE.Logic}/Utility/WrappingList.cs | 0 .../Program.cs | 0 .../Saves/Save019.json | 0 .../TBE.PerformanceProfiling.csproj} | 0 .../Characters/CharacterAITests.cs | 0 .../Characters/CharacterActionTests.cs | 0 .../Characters/CharacterEffectTests.cs | 0 .../Characters/CharacterExperienceTests.cs | 0 .../Characters/CharacterItemTests.cs | 0 .../Characters/CharacterLevelUpTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Characters/CharacterTests.cs | 0 .../Characters/CoverAdvancedTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Characters/CoverBaseTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Characters/CoverEastTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Characters/CoverNorthTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Characters/CoverSouthTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Characters/CoverUtility.cs | 0 src/{Battle.Tests => TBE.Tests}/Characters/CoverWestTests.cs | 0 src/{Battle.Tests => TBE.Tests}/CodeCoverage.runsettings | 0 .../Encounters/AbilityAttackTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Encounters/AreaAttackTests.cs | 0 .../Encounters/ArmorAttackTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Encounters/RangeTests.cs | 0 .../Encounters/RegularAttackTests.cs | 0 .../GameController/MissionObjectiveComplexTests.cs | 0 .../GameController/MissionObjectiveSimpleTests.cs | 0 src/{Battle.Tests => TBE.Tests}/GameController/TeamTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Items/ItemTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Items/WeaponTests.cs | 0 .../Map/AreaEffectFieldOfViewTests.cs | 0 .../Map/CharacterFieldOfViewTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Map/FieldOfViewTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Map/MapGenerationTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Map/MissedShotsTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Map/MovementTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Map/OverwatchTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Map/PathFindingTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Map/TeamFieldOfViewTests.cs | 0 .../Research/ResearchControllerTests.cs | 0 .../Research/ResearchGraphTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Research/ResearchTests.cs | 0 .../SaveGames/GameSerializationTests.cs | 0 src/{Battle.Tests => TBE.Tests}/SaveGames/Saves/Save016.json | 0 src/{Battle.Tests => TBE.Tests}/SaveGames/Saves/Save017.json | 0 src/{Battle.Tests => TBE.Tests}/SaveGames/Saves/Save019.json | 0 src/{Battle.Tests => TBE.Tests}/SaveGames/Saves/Save021.json | 0 src/{Battle.Tests => TBE.Tests}/SaveGames/Saves/Save022.json | 0 src/{Battle.Tests => TBE.Tests}/Scenarios/AICoverCrashTest.cs | 0 src/{Battle.Tests => TBE.Tests}/Scenarios/AICrashTest.cs | 0 .../Scenarios/AINoTargetCrashTest.cs | 0 src/{Battle.Tests => TBE.Tests}/Scenarios/AITargetingTest.cs | 0 .../Scenarios/CoverScenarioTest.cs | 0 .../Scenarios/EndOfMissionScenarioTest.cs | 0 .../Scenarios/FieldOfViewScenarioTest.cs | 0 .../Scenarios/MultipleTurnsScenarioTest.cs | 0 .../Scenarios/OverwatchScenarioTest.cs | 0 .../Scenarios/ShootingScenarioTests.cs | 0 .../Scenarios/TargetingScenarioTest.cs | 0 .../Scenarios/ToggleSwitchScenarioTest.cs | 0 src/{Battle.Tests => TBE.Tests}/TBE.Tests.csproj | 0 src/{Battle.Tests => TBE.Tests}/Utility/QueueTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Utility/RandomNumberTests.cs | 0 src/{Battle.Tests => TBE.Tests}/Utility/WrappingListTests.cs | 0 108 files changed, 2 insertions(+), 2 deletions(-) rename src/{Battle.Logic => TBE.Logic}/AbilitiesAndEffects/Ability.cs (100%) rename src/{Battle.Logic => TBE.Logic}/AbilitiesAndEffects/AbilityAndEffectType.cs (100%) rename src/{Battle.Logic => TBE.Logic}/AbilitiesAndEffects/AbilityPool.cs (100%) rename src/{Battle.Logic => TBE.Logic}/AbilitiesAndEffects/Effect.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Characters/Character.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Characters/CharacterAI.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Characters/CharacterAction.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Characters/CharacterCover.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Characters/CharacterMovement.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Characters/CharacterPool.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Characters/CoverState.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Characters/Experience.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Encounters/AIAction.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Encounters/DamageRange.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Encounters/Encounter.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Encounters/EncounterCore.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Encounters/EncounterResult.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Encounters/MovementAction.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Encounters/Range.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Game/Mission.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Game/MissionObjective.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Game/Team.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Game/TeamUtility.cs (100%) rename src/{Battle.Logic => TBE.Logic}/GlobalSuppressions.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Items/Item.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Items/ItemPool.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Items/Weapon.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Items/WeaponPool.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Map/CoverType.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Map/FieldOfView.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Map/MapCore.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Map/MapGeneration.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Map/MapTile.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Map/MapTileItem.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Map/MovementPossibileTiles.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Map/PathFinding.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Map/PathFindingResult.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Research/ResearchController.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Research/ResearchItem.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Research/ResearchPool.cs (100%) rename src/{Battle.Logic => TBE.Logic}/SaveGames/GameSerialization.cs (100%) rename src/{Battle.Logic => TBE.Logic}/TBE.Logic.csproj (100%) rename src/{Battle.Logic => TBE.Logic}/Utility/RandomNumberQueue.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Utility/RandomNumbers.cs (100%) rename src/{Battle.Logic => TBE.Logic}/Utility/WrappingList.cs (100%) rename src/{Battle.PerformanceProfiling => TBE.PerformanceProfiling}/Program.cs (100%) rename src/{Battle.PerformanceProfiling => TBE.PerformanceProfiling}/Saves/Save019.json (100%) rename src/{Battle.PerformanceProfiling/Battle.PerformanceProfiling.csproj => TBE.PerformanceProfiling/TBE.PerformanceProfiling.csproj} (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CharacterAITests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CharacterActionTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CharacterEffectTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CharacterExperienceTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CharacterItemTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CharacterLevelUpTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CharacterTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CoverAdvancedTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CoverBaseTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CoverEastTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CoverNorthTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CoverSouthTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CoverUtility.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Characters/CoverWestTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/CodeCoverage.runsettings (100%) rename src/{Battle.Tests => TBE.Tests}/Encounters/AbilityAttackTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Encounters/AreaAttackTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Encounters/ArmorAttackTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Encounters/RangeTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Encounters/RegularAttackTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/GameController/MissionObjectiveComplexTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/GameController/MissionObjectiveSimpleTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/GameController/TeamTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Items/ItemTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Items/WeaponTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Map/AreaEffectFieldOfViewTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Map/CharacterFieldOfViewTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Map/FieldOfViewTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Map/MapGenerationTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Map/MissedShotsTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Map/MovementTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Map/OverwatchTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Map/PathFindingTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Map/TeamFieldOfViewTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Research/ResearchControllerTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Research/ResearchGraphTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Research/ResearchTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/SaveGames/GameSerializationTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/SaveGames/Saves/Save016.json (100%) rename src/{Battle.Tests => TBE.Tests}/SaveGames/Saves/Save017.json (100%) rename src/{Battle.Tests => TBE.Tests}/SaveGames/Saves/Save019.json (100%) rename src/{Battle.Tests => TBE.Tests}/SaveGames/Saves/Save021.json (100%) rename src/{Battle.Tests => TBE.Tests}/SaveGames/Saves/Save022.json (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/AICoverCrashTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/AICrashTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/AINoTargetCrashTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/AITargetingTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/CoverScenarioTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/EndOfMissionScenarioTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/FieldOfViewScenarioTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/MultipleTurnsScenarioTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/OverwatchScenarioTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/ShootingScenarioTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/TargetingScenarioTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Scenarios/ToggleSwitchScenarioTest.cs (100%) rename src/{Battle.Tests => TBE.Tests}/TBE.Tests.csproj (100%) rename src/{Battle.Tests => TBE.Tests}/Utility/QueueTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Utility/RandomNumberTests.cs (100%) rename src/{Battle.Tests => TBE.Tests}/Utility/WrappingListTests.cs (100%) diff --git a/README.md b/README.md index 26c4b5d..441b7f0 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,9 @@ A project that builds out the logic for a turn based engine/ game idea, similar ## How to install/use - Requires .NET 7 (for tests) -- Battle.Logic dll is .NET Standard 2.0 for Unity compatibility +- TBE.Logic dll is .NET Standard 2.0 for Unity compatibility - Codespaces is configured, or you can continue to use Visual Studio -- See tests & scenarios for examples of how to utilize the battle.logic +- See tests & scenarios for examples of how to utilize the TBE.Logic project ## Contributions - Contributions welcome! Fork/Issue/Pull Request. Whatever you are comfortable suggesting. diff --git a/src/Battle.Logic/AbilitiesAndEffects/Ability.cs b/src/TBE.Logic/AbilitiesAndEffects/Ability.cs similarity index 100% rename from src/Battle.Logic/AbilitiesAndEffects/Ability.cs rename to src/TBE.Logic/AbilitiesAndEffects/Ability.cs diff --git a/src/Battle.Logic/AbilitiesAndEffects/AbilityAndEffectType.cs b/src/TBE.Logic/AbilitiesAndEffects/AbilityAndEffectType.cs similarity index 100% rename from src/Battle.Logic/AbilitiesAndEffects/AbilityAndEffectType.cs rename to src/TBE.Logic/AbilitiesAndEffects/AbilityAndEffectType.cs diff --git a/src/Battle.Logic/AbilitiesAndEffects/AbilityPool.cs b/src/TBE.Logic/AbilitiesAndEffects/AbilityPool.cs similarity index 100% rename from src/Battle.Logic/AbilitiesAndEffects/AbilityPool.cs rename to src/TBE.Logic/AbilitiesAndEffects/AbilityPool.cs diff --git a/src/Battle.Logic/AbilitiesAndEffects/Effect.cs b/src/TBE.Logic/AbilitiesAndEffects/Effect.cs similarity index 100% rename from src/Battle.Logic/AbilitiesAndEffects/Effect.cs rename to src/TBE.Logic/AbilitiesAndEffects/Effect.cs diff --git a/src/Battle.Logic/Characters/Character.cs b/src/TBE.Logic/Characters/Character.cs similarity index 100% rename from src/Battle.Logic/Characters/Character.cs rename to src/TBE.Logic/Characters/Character.cs diff --git a/src/Battle.Logic/Characters/CharacterAI.cs b/src/TBE.Logic/Characters/CharacterAI.cs similarity index 100% rename from src/Battle.Logic/Characters/CharacterAI.cs rename to src/TBE.Logic/Characters/CharacterAI.cs diff --git a/src/Battle.Logic/Characters/CharacterAction.cs b/src/TBE.Logic/Characters/CharacterAction.cs similarity index 100% rename from src/Battle.Logic/Characters/CharacterAction.cs rename to src/TBE.Logic/Characters/CharacterAction.cs diff --git a/src/Battle.Logic/Characters/CharacterCover.cs b/src/TBE.Logic/Characters/CharacterCover.cs similarity index 100% rename from src/Battle.Logic/Characters/CharacterCover.cs rename to src/TBE.Logic/Characters/CharacterCover.cs diff --git a/src/Battle.Logic/Characters/CharacterMovement.cs b/src/TBE.Logic/Characters/CharacterMovement.cs similarity index 100% rename from src/Battle.Logic/Characters/CharacterMovement.cs rename to src/TBE.Logic/Characters/CharacterMovement.cs diff --git a/src/Battle.Logic/Characters/CharacterPool.cs b/src/TBE.Logic/Characters/CharacterPool.cs similarity index 100% rename from src/Battle.Logic/Characters/CharacterPool.cs rename to src/TBE.Logic/Characters/CharacterPool.cs diff --git a/src/Battle.Logic/Characters/CoverState.cs b/src/TBE.Logic/Characters/CoverState.cs similarity index 100% rename from src/Battle.Logic/Characters/CoverState.cs rename to src/TBE.Logic/Characters/CoverState.cs diff --git a/src/Battle.Logic/Characters/Experience.cs b/src/TBE.Logic/Characters/Experience.cs similarity index 100% rename from src/Battle.Logic/Characters/Experience.cs rename to src/TBE.Logic/Characters/Experience.cs diff --git a/src/Battle.Logic/Encounters/AIAction.cs b/src/TBE.Logic/Encounters/AIAction.cs similarity index 100% rename from src/Battle.Logic/Encounters/AIAction.cs rename to src/TBE.Logic/Encounters/AIAction.cs diff --git a/src/Battle.Logic/Encounters/DamageRange.cs b/src/TBE.Logic/Encounters/DamageRange.cs similarity index 100% rename from src/Battle.Logic/Encounters/DamageRange.cs rename to src/TBE.Logic/Encounters/DamageRange.cs diff --git a/src/Battle.Logic/Encounters/Encounter.cs b/src/TBE.Logic/Encounters/Encounter.cs similarity index 100% rename from src/Battle.Logic/Encounters/Encounter.cs rename to src/TBE.Logic/Encounters/Encounter.cs diff --git a/src/Battle.Logic/Encounters/EncounterCore.cs b/src/TBE.Logic/Encounters/EncounterCore.cs similarity index 100% rename from src/Battle.Logic/Encounters/EncounterCore.cs rename to src/TBE.Logic/Encounters/EncounterCore.cs diff --git a/src/Battle.Logic/Encounters/EncounterResult.cs b/src/TBE.Logic/Encounters/EncounterResult.cs similarity index 100% rename from src/Battle.Logic/Encounters/EncounterResult.cs rename to src/TBE.Logic/Encounters/EncounterResult.cs diff --git a/src/Battle.Logic/Encounters/MovementAction.cs b/src/TBE.Logic/Encounters/MovementAction.cs similarity index 100% rename from src/Battle.Logic/Encounters/MovementAction.cs rename to src/TBE.Logic/Encounters/MovementAction.cs diff --git a/src/Battle.Logic/Encounters/Range.cs b/src/TBE.Logic/Encounters/Range.cs similarity index 100% rename from src/Battle.Logic/Encounters/Range.cs rename to src/TBE.Logic/Encounters/Range.cs diff --git a/src/Battle.Logic/Game/Mission.cs b/src/TBE.Logic/Game/Mission.cs similarity index 100% rename from src/Battle.Logic/Game/Mission.cs rename to src/TBE.Logic/Game/Mission.cs diff --git a/src/Battle.Logic/Game/MissionObjective.cs b/src/TBE.Logic/Game/MissionObjective.cs similarity index 100% rename from src/Battle.Logic/Game/MissionObjective.cs rename to src/TBE.Logic/Game/MissionObjective.cs diff --git a/src/Battle.Logic/Game/Team.cs b/src/TBE.Logic/Game/Team.cs similarity index 100% rename from src/Battle.Logic/Game/Team.cs rename to src/TBE.Logic/Game/Team.cs diff --git a/src/Battle.Logic/Game/TeamUtility.cs b/src/TBE.Logic/Game/TeamUtility.cs similarity index 100% rename from src/Battle.Logic/Game/TeamUtility.cs rename to src/TBE.Logic/Game/TeamUtility.cs diff --git a/src/Battle.Logic/GlobalSuppressions.cs b/src/TBE.Logic/GlobalSuppressions.cs similarity index 100% rename from src/Battle.Logic/GlobalSuppressions.cs rename to src/TBE.Logic/GlobalSuppressions.cs diff --git a/src/Battle.Logic/Items/Item.cs b/src/TBE.Logic/Items/Item.cs similarity index 100% rename from src/Battle.Logic/Items/Item.cs rename to src/TBE.Logic/Items/Item.cs diff --git a/src/Battle.Logic/Items/ItemPool.cs b/src/TBE.Logic/Items/ItemPool.cs similarity index 100% rename from src/Battle.Logic/Items/ItemPool.cs rename to src/TBE.Logic/Items/ItemPool.cs diff --git a/src/Battle.Logic/Items/Weapon.cs b/src/TBE.Logic/Items/Weapon.cs similarity index 100% rename from src/Battle.Logic/Items/Weapon.cs rename to src/TBE.Logic/Items/Weapon.cs diff --git a/src/Battle.Logic/Items/WeaponPool.cs b/src/TBE.Logic/Items/WeaponPool.cs similarity index 100% rename from src/Battle.Logic/Items/WeaponPool.cs rename to src/TBE.Logic/Items/WeaponPool.cs diff --git a/src/Battle.Logic/Map/CoverType.cs b/src/TBE.Logic/Map/CoverType.cs similarity index 100% rename from src/Battle.Logic/Map/CoverType.cs rename to src/TBE.Logic/Map/CoverType.cs diff --git a/src/Battle.Logic/Map/FieldOfView.cs b/src/TBE.Logic/Map/FieldOfView.cs similarity index 100% rename from src/Battle.Logic/Map/FieldOfView.cs rename to src/TBE.Logic/Map/FieldOfView.cs diff --git a/src/Battle.Logic/Map/MapCore.cs b/src/TBE.Logic/Map/MapCore.cs similarity index 100% rename from src/Battle.Logic/Map/MapCore.cs rename to src/TBE.Logic/Map/MapCore.cs diff --git a/src/Battle.Logic/Map/MapGeneration.cs b/src/TBE.Logic/Map/MapGeneration.cs similarity index 100% rename from src/Battle.Logic/Map/MapGeneration.cs rename to src/TBE.Logic/Map/MapGeneration.cs diff --git a/src/Battle.Logic/Map/MapTile.cs b/src/TBE.Logic/Map/MapTile.cs similarity index 100% rename from src/Battle.Logic/Map/MapTile.cs rename to src/TBE.Logic/Map/MapTile.cs diff --git a/src/Battle.Logic/Map/MapTileItem.cs b/src/TBE.Logic/Map/MapTileItem.cs similarity index 100% rename from src/Battle.Logic/Map/MapTileItem.cs rename to src/TBE.Logic/Map/MapTileItem.cs diff --git a/src/Battle.Logic/Map/MovementPossibileTiles.cs b/src/TBE.Logic/Map/MovementPossibileTiles.cs similarity index 100% rename from src/Battle.Logic/Map/MovementPossibileTiles.cs rename to src/TBE.Logic/Map/MovementPossibileTiles.cs diff --git a/src/Battle.Logic/Map/PathFinding.cs b/src/TBE.Logic/Map/PathFinding.cs similarity index 100% rename from src/Battle.Logic/Map/PathFinding.cs rename to src/TBE.Logic/Map/PathFinding.cs diff --git a/src/Battle.Logic/Map/PathFindingResult.cs b/src/TBE.Logic/Map/PathFindingResult.cs similarity index 100% rename from src/Battle.Logic/Map/PathFindingResult.cs rename to src/TBE.Logic/Map/PathFindingResult.cs diff --git a/src/Battle.Logic/Research/ResearchController.cs b/src/TBE.Logic/Research/ResearchController.cs similarity index 100% rename from src/Battle.Logic/Research/ResearchController.cs rename to src/TBE.Logic/Research/ResearchController.cs diff --git a/src/Battle.Logic/Research/ResearchItem.cs b/src/TBE.Logic/Research/ResearchItem.cs similarity index 100% rename from src/Battle.Logic/Research/ResearchItem.cs rename to src/TBE.Logic/Research/ResearchItem.cs diff --git a/src/Battle.Logic/Research/ResearchPool.cs b/src/TBE.Logic/Research/ResearchPool.cs similarity index 100% rename from src/Battle.Logic/Research/ResearchPool.cs rename to src/TBE.Logic/Research/ResearchPool.cs diff --git a/src/Battle.Logic/SaveGames/GameSerialization.cs b/src/TBE.Logic/SaveGames/GameSerialization.cs similarity index 100% rename from src/Battle.Logic/SaveGames/GameSerialization.cs rename to src/TBE.Logic/SaveGames/GameSerialization.cs diff --git a/src/Battle.Logic/TBE.Logic.csproj b/src/TBE.Logic/TBE.Logic.csproj similarity index 100% rename from src/Battle.Logic/TBE.Logic.csproj rename to src/TBE.Logic/TBE.Logic.csproj diff --git a/src/Battle.Logic/Utility/RandomNumberQueue.cs b/src/TBE.Logic/Utility/RandomNumberQueue.cs similarity index 100% rename from src/Battle.Logic/Utility/RandomNumberQueue.cs rename to src/TBE.Logic/Utility/RandomNumberQueue.cs diff --git a/src/Battle.Logic/Utility/RandomNumbers.cs b/src/TBE.Logic/Utility/RandomNumbers.cs similarity index 100% rename from src/Battle.Logic/Utility/RandomNumbers.cs rename to src/TBE.Logic/Utility/RandomNumbers.cs diff --git a/src/Battle.Logic/Utility/WrappingList.cs b/src/TBE.Logic/Utility/WrappingList.cs similarity index 100% rename from src/Battle.Logic/Utility/WrappingList.cs rename to src/TBE.Logic/Utility/WrappingList.cs diff --git a/src/Battle.PerformanceProfiling/Program.cs b/src/TBE.PerformanceProfiling/Program.cs similarity index 100% rename from src/Battle.PerformanceProfiling/Program.cs rename to src/TBE.PerformanceProfiling/Program.cs diff --git a/src/Battle.PerformanceProfiling/Saves/Save019.json b/src/TBE.PerformanceProfiling/Saves/Save019.json similarity index 100% rename from src/Battle.PerformanceProfiling/Saves/Save019.json rename to src/TBE.PerformanceProfiling/Saves/Save019.json diff --git a/src/Battle.PerformanceProfiling/Battle.PerformanceProfiling.csproj b/src/TBE.PerformanceProfiling/TBE.PerformanceProfiling.csproj similarity index 100% rename from src/Battle.PerformanceProfiling/Battle.PerformanceProfiling.csproj rename to src/TBE.PerformanceProfiling/TBE.PerformanceProfiling.csproj diff --git a/src/Battle.Tests/Characters/CharacterAITests.cs b/src/TBE.Tests/Characters/CharacterAITests.cs similarity index 100% rename from src/Battle.Tests/Characters/CharacterAITests.cs rename to src/TBE.Tests/Characters/CharacterAITests.cs diff --git a/src/Battle.Tests/Characters/CharacterActionTests.cs b/src/TBE.Tests/Characters/CharacterActionTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CharacterActionTests.cs rename to src/TBE.Tests/Characters/CharacterActionTests.cs diff --git a/src/Battle.Tests/Characters/CharacterEffectTests.cs b/src/TBE.Tests/Characters/CharacterEffectTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CharacterEffectTests.cs rename to src/TBE.Tests/Characters/CharacterEffectTests.cs diff --git a/src/Battle.Tests/Characters/CharacterExperienceTests.cs b/src/TBE.Tests/Characters/CharacterExperienceTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CharacterExperienceTests.cs rename to src/TBE.Tests/Characters/CharacterExperienceTests.cs diff --git a/src/Battle.Tests/Characters/CharacterItemTests.cs b/src/TBE.Tests/Characters/CharacterItemTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CharacterItemTests.cs rename to src/TBE.Tests/Characters/CharacterItemTests.cs diff --git a/src/Battle.Tests/Characters/CharacterLevelUpTests.cs b/src/TBE.Tests/Characters/CharacterLevelUpTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CharacterLevelUpTests.cs rename to src/TBE.Tests/Characters/CharacterLevelUpTests.cs diff --git a/src/Battle.Tests/Characters/CharacterTests.cs b/src/TBE.Tests/Characters/CharacterTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CharacterTests.cs rename to src/TBE.Tests/Characters/CharacterTests.cs diff --git a/src/Battle.Tests/Characters/CoverAdvancedTests.cs b/src/TBE.Tests/Characters/CoverAdvancedTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CoverAdvancedTests.cs rename to src/TBE.Tests/Characters/CoverAdvancedTests.cs diff --git a/src/Battle.Tests/Characters/CoverBaseTests.cs b/src/TBE.Tests/Characters/CoverBaseTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CoverBaseTests.cs rename to src/TBE.Tests/Characters/CoverBaseTests.cs diff --git a/src/Battle.Tests/Characters/CoverEastTests.cs b/src/TBE.Tests/Characters/CoverEastTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CoverEastTests.cs rename to src/TBE.Tests/Characters/CoverEastTests.cs diff --git a/src/Battle.Tests/Characters/CoverNorthTests.cs b/src/TBE.Tests/Characters/CoverNorthTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CoverNorthTests.cs rename to src/TBE.Tests/Characters/CoverNorthTests.cs diff --git a/src/Battle.Tests/Characters/CoverSouthTests.cs b/src/TBE.Tests/Characters/CoverSouthTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CoverSouthTests.cs rename to src/TBE.Tests/Characters/CoverSouthTests.cs diff --git a/src/Battle.Tests/Characters/CoverUtility.cs b/src/TBE.Tests/Characters/CoverUtility.cs similarity index 100% rename from src/Battle.Tests/Characters/CoverUtility.cs rename to src/TBE.Tests/Characters/CoverUtility.cs diff --git a/src/Battle.Tests/Characters/CoverWestTests.cs b/src/TBE.Tests/Characters/CoverWestTests.cs similarity index 100% rename from src/Battle.Tests/Characters/CoverWestTests.cs rename to src/TBE.Tests/Characters/CoverWestTests.cs diff --git a/src/Battle.Tests/CodeCoverage.runsettings b/src/TBE.Tests/CodeCoverage.runsettings similarity index 100% rename from src/Battle.Tests/CodeCoverage.runsettings rename to src/TBE.Tests/CodeCoverage.runsettings diff --git a/src/Battle.Tests/Encounters/AbilityAttackTests.cs b/src/TBE.Tests/Encounters/AbilityAttackTests.cs similarity index 100% rename from src/Battle.Tests/Encounters/AbilityAttackTests.cs rename to src/TBE.Tests/Encounters/AbilityAttackTests.cs diff --git a/src/Battle.Tests/Encounters/AreaAttackTests.cs b/src/TBE.Tests/Encounters/AreaAttackTests.cs similarity index 100% rename from src/Battle.Tests/Encounters/AreaAttackTests.cs rename to src/TBE.Tests/Encounters/AreaAttackTests.cs diff --git a/src/Battle.Tests/Encounters/ArmorAttackTests.cs b/src/TBE.Tests/Encounters/ArmorAttackTests.cs similarity index 100% rename from src/Battle.Tests/Encounters/ArmorAttackTests.cs rename to src/TBE.Tests/Encounters/ArmorAttackTests.cs diff --git a/src/Battle.Tests/Encounters/RangeTests.cs b/src/TBE.Tests/Encounters/RangeTests.cs similarity index 100% rename from src/Battle.Tests/Encounters/RangeTests.cs rename to src/TBE.Tests/Encounters/RangeTests.cs diff --git a/src/Battle.Tests/Encounters/RegularAttackTests.cs b/src/TBE.Tests/Encounters/RegularAttackTests.cs similarity index 100% rename from src/Battle.Tests/Encounters/RegularAttackTests.cs rename to src/TBE.Tests/Encounters/RegularAttackTests.cs diff --git a/src/Battle.Tests/GameController/MissionObjectiveComplexTests.cs b/src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs similarity index 100% rename from src/Battle.Tests/GameController/MissionObjectiveComplexTests.cs rename to src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs diff --git a/src/Battle.Tests/GameController/MissionObjectiveSimpleTests.cs b/src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs similarity index 100% rename from src/Battle.Tests/GameController/MissionObjectiveSimpleTests.cs rename to src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs diff --git a/src/Battle.Tests/GameController/TeamTests.cs b/src/TBE.Tests/GameController/TeamTests.cs similarity index 100% rename from src/Battle.Tests/GameController/TeamTests.cs rename to src/TBE.Tests/GameController/TeamTests.cs diff --git a/src/Battle.Tests/Items/ItemTests.cs b/src/TBE.Tests/Items/ItemTests.cs similarity index 100% rename from src/Battle.Tests/Items/ItemTests.cs rename to src/TBE.Tests/Items/ItemTests.cs diff --git a/src/Battle.Tests/Items/WeaponTests.cs b/src/TBE.Tests/Items/WeaponTests.cs similarity index 100% rename from src/Battle.Tests/Items/WeaponTests.cs rename to src/TBE.Tests/Items/WeaponTests.cs diff --git a/src/Battle.Tests/Map/AreaEffectFieldOfViewTests.cs b/src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs similarity index 100% rename from src/Battle.Tests/Map/AreaEffectFieldOfViewTests.cs rename to src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs diff --git a/src/Battle.Tests/Map/CharacterFieldOfViewTests.cs b/src/TBE.Tests/Map/CharacterFieldOfViewTests.cs similarity index 100% rename from src/Battle.Tests/Map/CharacterFieldOfViewTests.cs rename to src/TBE.Tests/Map/CharacterFieldOfViewTests.cs diff --git a/src/Battle.Tests/Map/FieldOfViewTests.cs b/src/TBE.Tests/Map/FieldOfViewTests.cs similarity index 100% rename from src/Battle.Tests/Map/FieldOfViewTests.cs rename to src/TBE.Tests/Map/FieldOfViewTests.cs diff --git a/src/Battle.Tests/Map/MapGenerationTests.cs b/src/TBE.Tests/Map/MapGenerationTests.cs similarity index 100% rename from src/Battle.Tests/Map/MapGenerationTests.cs rename to src/TBE.Tests/Map/MapGenerationTests.cs diff --git a/src/Battle.Tests/Map/MissedShotsTests.cs b/src/TBE.Tests/Map/MissedShotsTests.cs similarity index 100% rename from src/Battle.Tests/Map/MissedShotsTests.cs rename to src/TBE.Tests/Map/MissedShotsTests.cs diff --git a/src/Battle.Tests/Map/MovementTests.cs b/src/TBE.Tests/Map/MovementTests.cs similarity index 100% rename from src/Battle.Tests/Map/MovementTests.cs rename to src/TBE.Tests/Map/MovementTests.cs diff --git a/src/Battle.Tests/Map/OverwatchTests.cs b/src/TBE.Tests/Map/OverwatchTests.cs similarity index 100% rename from src/Battle.Tests/Map/OverwatchTests.cs rename to src/TBE.Tests/Map/OverwatchTests.cs diff --git a/src/Battle.Tests/Map/PathFindingTests.cs b/src/TBE.Tests/Map/PathFindingTests.cs similarity index 100% rename from src/Battle.Tests/Map/PathFindingTests.cs rename to src/TBE.Tests/Map/PathFindingTests.cs diff --git a/src/Battle.Tests/Map/TeamFieldOfViewTests.cs b/src/TBE.Tests/Map/TeamFieldOfViewTests.cs similarity index 100% rename from src/Battle.Tests/Map/TeamFieldOfViewTests.cs rename to src/TBE.Tests/Map/TeamFieldOfViewTests.cs diff --git a/src/Battle.Tests/Research/ResearchControllerTests.cs b/src/TBE.Tests/Research/ResearchControllerTests.cs similarity index 100% rename from src/Battle.Tests/Research/ResearchControllerTests.cs rename to src/TBE.Tests/Research/ResearchControllerTests.cs diff --git a/src/Battle.Tests/Research/ResearchGraphTests.cs b/src/TBE.Tests/Research/ResearchGraphTests.cs similarity index 100% rename from src/Battle.Tests/Research/ResearchGraphTests.cs rename to src/TBE.Tests/Research/ResearchGraphTests.cs diff --git a/src/Battle.Tests/Research/ResearchTests.cs b/src/TBE.Tests/Research/ResearchTests.cs similarity index 100% rename from src/Battle.Tests/Research/ResearchTests.cs rename to src/TBE.Tests/Research/ResearchTests.cs diff --git a/src/Battle.Tests/SaveGames/GameSerializationTests.cs b/src/TBE.Tests/SaveGames/GameSerializationTests.cs similarity index 100% rename from src/Battle.Tests/SaveGames/GameSerializationTests.cs rename to src/TBE.Tests/SaveGames/GameSerializationTests.cs diff --git a/src/Battle.Tests/SaveGames/Saves/Save016.json b/src/TBE.Tests/SaveGames/Saves/Save016.json similarity index 100% rename from src/Battle.Tests/SaveGames/Saves/Save016.json rename to src/TBE.Tests/SaveGames/Saves/Save016.json diff --git a/src/Battle.Tests/SaveGames/Saves/Save017.json b/src/TBE.Tests/SaveGames/Saves/Save017.json similarity index 100% rename from src/Battle.Tests/SaveGames/Saves/Save017.json rename to src/TBE.Tests/SaveGames/Saves/Save017.json diff --git a/src/Battle.Tests/SaveGames/Saves/Save019.json b/src/TBE.Tests/SaveGames/Saves/Save019.json similarity index 100% rename from src/Battle.Tests/SaveGames/Saves/Save019.json rename to src/TBE.Tests/SaveGames/Saves/Save019.json diff --git a/src/Battle.Tests/SaveGames/Saves/Save021.json b/src/TBE.Tests/SaveGames/Saves/Save021.json similarity index 100% rename from src/Battle.Tests/SaveGames/Saves/Save021.json rename to src/TBE.Tests/SaveGames/Saves/Save021.json diff --git a/src/Battle.Tests/SaveGames/Saves/Save022.json b/src/TBE.Tests/SaveGames/Saves/Save022.json similarity index 100% rename from src/Battle.Tests/SaveGames/Saves/Save022.json rename to src/TBE.Tests/SaveGames/Saves/Save022.json diff --git a/src/Battle.Tests/Scenarios/AICoverCrashTest.cs b/src/TBE.Tests/Scenarios/AICoverCrashTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/AICoverCrashTest.cs rename to src/TBE.Tests/Scenarios/AICoverCrashTest.cs diff --git a/src/Battle.Tests/Scenarios/AICrashTest.cs b/src/TBE.Tests/Scenarios/AICrashTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/AICrashTest.cs rename to src/TBE.Tests/Scenarios/AICrashTest.cs diff --git a/src/Battle.Tests/Scenarios/AINoTargetCrashTest.cs b/src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/AINoTargetCrashTest.cs rename to src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs diff --git a/src/Battle.Tests/Scenarios/AITargetingTest.cs b/src/TBE.Tests/Scenarios/AITargetingTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/AITargetingTest.cs rename to src/TBE.Tests/Scenarios/AITargetingTest.cs diff --git a/src/Battle.Tests/Scenarios/CoverScenarioTest.cs b/src/TBE.Tests/Scenarios/CoverScenarioTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/CoverScenarioTest.cs rename to src/TBE.Tests/Scenarios/CoverScenarioTest.cs diff --git a/src/Battle.Tests/Scenarios/EndOfMissionScenarioTest.cs b/src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/EndOfMissionScenarioTest.cs rename to src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs diff --git a/src/Battle.Tests/Scenarios/FieldOfViewScenarioTest.cs b/src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/FieldOfViewScenarioTest.cs rename to src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs diff --git a/src/Battle.Tests/Scenarios/MultipleTurnsScenarioTest.cs b/src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/MultipleTurnsScenarioTest.cs rename to src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs diff --git a/src/Battle.Tests/Scenarios/OverwatchScenarioTest.cs b/src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/OverwatchScenarioTest.cs rename to src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs diff --git a/src/Battle.Tests/Scenarios/ShootingScenarioTests.cs b/src/TBE.Tests/Scenarios/ShootingScenarioTests.cs similarity index 100% rename from src/Battle.Tests/Scenarios/ShootingScenarioTests.cs rename to src/TBE.Tests/Scenarios/ShootingScenarioTests.cs diff --git a/src/Battle.Tests/Scenarios/TargetingScenarioTest.cs b/src/TBE.Tests/Scenarios/TargetingScenarioTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/TargetingScenarioTest.cs rename to src/TBE.Tests/Scenarios/TargetingScenarioTest.cs diff --git a/src/Battle.Tests/Scenarios/ToggleSwitchScenarioTest.cs b/src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs similarity index 100% rename from src/Battle.Tests/Scenarios/ToggleSwitchScenarioTest.cs rename to src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs diff --git a/src/Battle.Tests/TBE.Tests.csproj b/src/TBE.Tests/TBE.Tests.csproj similarity index 100% rename from src/Battle.Tests/TBE.Tests.csproj rename to src/TBE.Tests/TBE.Tests.csproj diff --git a/src/Battle.Tests/Utility/QueueTests.cs b/src/TBE.Tests/Utility/QueueTests.cs similarity index 100% rename from src/Battle.Tests/Utility/QueueTests.cs rename to src/TBE.Tests/Utility/QueueTests.cs diff --git a/src/Battle.Tests/Utility/RandomNumberTests.cs b/src/TBE.Tests/Utility/RandomNumberTests.cs similarity index 100% rename from src/Battle.Tests/Utility/RandomNumberTests.cs rename to src/TBE.Tests/Utility/RandomNumberTests.cs diff --git a/src/Battle.Tests/Utility/WrappingListTests.cs b/src/TBE.Tests/Utility/WrappingListTests.cs similarity index 100% rename from src/Battle.Tests/Utility/WrappingListTests.cs rename to src/TBE.Tests/Utility/WrappingListTests.cs From 6fe9f9aab096f558ee9d9073afa8478428111989 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:30:46 -0400 Subject: [PATCH 13/17] renamed battle.logic to TBE.logic --- src/TBE.Logic/AbilitiesAndEffects/Ability.cs | 2 +- .../AbilitiesAndEffects/AbilityAndEffectType.cs | 2 +- src/TBE.Logic/AbilitiesAndEffects/AbilityPool.cs | 2 +- src/TBE.Logic/AbilitiesAndEffects/Effect.cs | 2 +- src/TBE.Logic/Characters/Character.cs | 8 ++++---- src/TBE.Logic/Characters/CharacterAI.cs | 10 +++++----- src/TBE.Logic/Characters/CharacterAction.cs | 2 +- src/TBE.Logic/Characters/CharacterCover.cs | 6 +++--- src/TBE.Logic/Characters/CharacterMovement.cs | 10 +++++----- src/TBE.Logic/Characters/CharacterPool.cs | 6 +++--- src/TBE.Logic/Characters/CoverState.cs | 2 +- src/TBE.Logic/Characters/Experience.cs | 2 +- src/TBE.Logic/Encounters/AIAction.cs | 2 +- src/TBE.Logic/Encounters/DamageRange.cs | 2 +- src/TBE.Logic/Encounters/Encounter.cs | 12 ++++++------ src/TBE.Logic/Encounters/EncounterCore.cs | 8 ++++---- src/TBE.Logic/Encounters/EncounterResult.cs | 4 ++-- src/TBE.Logic/Encounters/MovementAction.cs | 2 +- src/TBE.Logic/Encounters/Range.cs | 4 ++-- src/TBE.Logic/Game/Mission.cs | 12 ++++++------ src/TBE.Logic/Game/MissionObjective.cs | 2 +- src/TBE.Logic/Game/Team.cs | 4 ++-- src/TBE.Logic/Game/TeamUtility.cs | 6 +++--- src/TBE.Logic/GlobalSuppressions.cs | 10 +++++----- src/TBE.Logic/Items/Item.cs | 2 +- src/TBE.Logic/Items/ItemPool.cs | 2 +- src/TBE.Logic/Items/Weapon.cs | 2 +- src/TBE.Logic/Items/WeaponPool.cs | 2 +- src/TBE.Logic/Map/CoverType.cs | 2 +- src/TBE.Logic/Map/FieldOfView.cs | 6 +++--- src/TBE.Logic/Map/MapCore.cs | 4 ++-- src/TBE.Logic/Map/MapGeneration.cs | 4 ++-- src/TBE.Logic/Map/MapTile.cs | 2 +- src/TBE.Logic/Map/MapTileItem.cs | 2 +- src/TBE.Logic/Map/MovementPossibileTiles.cs | 2 +- src/TBE.Logic/Map/PathFinding.cs | 2 +- src/TBE.Logic/Map/PathFindingResult.cs | 2 +- src/TBE.Logic/Research/ResearchController.cs | 2 +- src/TBE.Logic/Research/ResearchItem.cs | 4 ++-- src/TBE.Logic/Research/ResearchPool.cs | 2 +- src/TBE.Logic/SaveGames/GameSerialization.cs | 4 ++-- src/TBE.Logic/Utility/RandomNumberQueue.cs | 2 +- src/TBE.Logic/Utility/RandomNumbers.cs | 2 +- src/TBE.Logic/Utility/WrappingList.cs | 4 ++-- src/TBE.PerformanceProfiling/Program.cs | 8 ++++---- src/TBE.Tests/Characters/CharacterAITests.cs | 8 ++++---- src/TBE.Tests/Characters/CharacterActionTests.cs | 2 +- src/TBE.Tests/Characters/CharacterEffectTests.cs | 4 ++-- src/TBE.Tests/Characters/CharacterExperienceTests.cs | 2 +- src/TBE.Tests/Characters/CharacterItemTests.cs | 4 ++-- src/TBE.Tests/Characters/CharacterLevelUpTests.cs | 2 +- src/TBE.Tests/Characters/CharacterTests.cs | 4 ++-- src/TBE.Tests/Characters/CoverAdvancedTests.cs | 2 +- src/TBE.Tests/Characters/CoverBaseTests.cs | 2 +- src/TBE.Tests/Characters/CoverEastTests.cs | 2 +- src/TBE.Tests/Characters/CoverNorthTests.cs | 2 +- src/TBE.Tests/Characters/CoverSouthTests.cs | 2 +- src/TBE.Tests/Characters/CoverUtility.cs | 2 +- src/TBE.Tests/Characters/CoverWestTests.cs | 2 +- src/TBE.Tests/Encounters/AbilityAttackTests.cs | 10 +++++----- src/TBE.Tests/Encounters/AreaAttackTests.cs | 12 ++++++------ src/TBE.Tests/Encounters/ArmorAttackTests.cs | 12 ++++++------ src/TBE.Tests/Encounters/RangeTests.cs | 4 ++-- .../GameController/MissionObjectiveComplexTests.cs | 4 ++-- .../GameController/MissionObjectiveSimpleTests.cs | 6 +++--- src/TBE.Tests/GameController/TeamTests.cs | 4 ++-- src/TBE.Tests/Items/ItemTests.cs | 2 +- src/TBE.Tests/Items/WeaponTests.cs | 2 +- src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs | 2 +- src/TBE.Tests/Map/CharacterFieldOfViewTests.cs | 6 +++--- src/TBE.Tests/Map/FieldOfViewTests.cs | 2 +- src/TBE.Tests/Map/MapGenerationTests.cs | 2 +- src/TBE.Tests/Map/MissedShotsTests.cs | 2 +- src/TBE.Tests/Map/MovementTests.cs | 8 ++++---- src/TBE.Tests/Map/OverwatchTests.cs | 12 ++++++------ src/TBE.Tests/Map/TeamFieldOfViewTests.cs | 10 +++++----- src/TBE.Tests/Research/ResearchControllerTests.cs | 2 +- src/TBE.Tests/Research/ResearchGraphTests.cs | 2 +- src/TBE.Tests/Research/ResearchTests.cs | 2 +- src/TBE.Tests/SaveGames/GameSerializationTests.cs | 4 ++-- src/TBE.Tests/Scenarios/AICoverCrashTest.cs | 6 +++--- src/TBE.Tests/Scenarios/AICrashTest.cs | 8 ++++---- src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs | 6 +++--- src/TBE.Tests/Scenarios/AITargetingTest.cs | 10 +++++----- src/TBE.Tests/Scenarios/CoverScenarioTest.cs | 8 ++++---- src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs | 6 +++--- src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs | 8 ++++---- src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs | 8 ++++---- src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs | 12 ++++++------ src/TBE.Tests/Scenarios/ShootingScenarioTests.cs | 10 +++++----- src/TBE.Tests/Scenarios/TargetingScenarioTest.cs | 8 ++++---- src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs | 6 +++--- src/TBE.Tests/Utility/QueueTests.cs | 2 +- src/TBE.Tests/Utility/RandomNumberTests.cs | 2 +- src/TBE.Tests/Utility/WrappingListTests.cs | 4 ++-- 95 files changed, 219 insertions(+), 219 deletions(-) diff --git a/src/TBE.Logic/AbilitiesAndEffects/Ability.cs b/src/TBE.Logic/AbilitiesAndEffects/Ability.cs index a12615e..f27ca52 100644 --- a/src/TBE.Logic/AbilitiesAndEffects/Ability.cs +++ b/src/TBE.Logic/AbilitiesAndEffects/Ability.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.AbilitiesAndEffects +namespace TBE.Logic.AbilitiesAndEffects { public class Ability { diff --git a/src/TBE.Logic/AbilitiesAndEffects/AbilityAndEffectType.cs b/src/TBE.Logic/AbilitiesAndEffects/AbilityAndEffectType.cs index dec7002..e7bfe97 100644 --- a/src/TBE.Logic/AbilitiesAndEffects/AbilityAndEffectType.cs +++ b/src/TBE.Logic/AbilitiesAndEffects/AbilityAndEffectType.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.AbilitiesAndEffects +namespace TBE.Logic.AbilitiesAndEffects { public enum AbilityType { diff --git a/src/TBE.Logic/AbilitiesAndEffects/AbilityPool.cs b/src/TBE.Logic/AbilitiesAndEffects/AbilityPool.cs index 837614e..5971722 100644 --- a/src/TBE.Logic/AbilitiesAndEffects/AbilityPool.cs +++ b/src/TBE.Logic/AbilitiesAndEffects/AbilityPool.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.AbilitiesAndEffects +namespace TBE.Logic.AbilitiesAndEffects { public static class AbilityPool { diff --git a/src/TBE.Logic/AbilitiesAndEffects/Effect.cs b/src/TBE.Logic/AbilitiesAndEffects/Effect.cs index 3a5164c..2b2a37f 100644 --- a/src/TBE.Logic/AbilitiesAndEffects/Effect.cs +++ b/src/TBE.Logic/AbilitiesAndEffects/Effect.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.AbilitiesAndEffects +namespace TBE.Logic.AbilitiesAndEffects { public class Effect { diff --git a/src/TBE.Logic/Characters/Character.cs b/src/TBE.Logic/Characters/Character.cs index 716fd3a..a472f38 100644 --- a/src/TBE.Logic/Characters/Character.cs +++ b/src/TBE.Logic/Characters/Character.cs @@ -1,10 +1,10 @@ -using Battle.Logic.AbilitiesAndEffects; -using Battle.Logic.Items; -using Battle.Logic.Map; +using TBE.Logic.AbilitiesAndEffects; +using TBE.Logic.Items; +using TBE.Logic.Map; using System.Collections.Generic; using System.Numerics; -namespace Battle.Logic.Characters +namespace TBE.Logic.Characters { public class Character { diff --git a/src/TBE.Logic/Characters/CharacterAI.cs b/src/TBE.Logic/Characters/CharacterAI.cs index 06a5e44..37f6833 100644 --- a/src/TBE.Logic/Characters/CharacterAI.cs +++ b/src/TBE.Logic/Characters/CharacterAI.cs @@ -1,12 +1,12 @@ -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; +using TBE.Logic.Utility; using System.Collections.Generic; using System.Linq; using System.Numerics; -namespace Battle.Logic.Characters +namespace TBE.Logic.Characters { public class CharacterAI { diff --git a/src/TBE.Logic/Characters/CharacterAction.cs b/src/TBE.Logic/Characters/CharacterAction.cs index c3a4edf..09d35fc 100644 --- a/src/TBE.Logic/Characters/CharacterAction.cs +++ b/src/TBE.Logic/Characters/CharacterAction.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.Characters +namespace TBE.Logic.Characters { public class CharacterAction { diff --git a/src/TBE.Logic/Characters/CharacterCover.cs b/src/TBE.Logic/Characters/CharacterCover.cs index f7ff600..870bac7 100644 --- a/src/TBE.Logic/Characters/CharacterCover.cs +++ b/src/TBE.Logic/Characters/CharacterCover.cs @@ -1,10 +1,10 @@ -using Battle.Logic.Game; -using Battle.Logic.Map; +using TBE.Logic.Game; +using TBE.Logic.Map; using System; using System.Collections.Generic; using System.Numerics; -namespace Battle.Logic.Characters +namespace TBE.Logic.Characters { public static class CharacterCover { diff --git a/src/TBE.Logic/Characters/CharacterMovement.cs b/src/TBE.Logic/Characters/CharacterMovement.cs index fb03103..1bc4eb3 100644 --- a/src/TBE.Logic/Characters/CharacterMovement.cs +++ b/src/TBE.Logic/Characters/CharacterMovement.cs @@ -1,14 +1,14 @@ -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; +using TBE.Logic.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; -namespace Battle.Logic.Characters +namespace TBE.Logic.Characters { public static class CharacterMovement { diff --git a/src/TBE.Logic/Characters/CharacterPool.cs b/src/TBE.Logic/Characters/CharacterPool.cs index 915be30..15b5cf6 100644 --- a/src/TBE.Logic/Characters/CharacterPool.cs +++ b/src/TBE.Logic/Characters/CharacterPool.cs @@ -1,8 +1,8 @@ -using Battle.Logic.AbilitiesAndEffects; -using Battle.Logic.Items; +using TBE.Logic.AbilitiesAndEffects; +using TBE.Logic.Items; using System.Numerics; -namespace Battle.Logic.Characters +namespace TBE.Logic.Characters { public static class CharacterPool { diff --git a/src/TBE.Logic/Characters/CoverState.cs b/src/TBE.Logic/Characters/CoverState.cs index 754be96..d607a83 100644 --- a/src/TBE.Logic/Characters/CoverState.cs +++ b/src/TBE.Logic/Characters/CoverState.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.Characters +namespace TBE.Logic.Characters { public class CoverState { diff --git a/src/TBE.Logic/Characters/Experience.cs b/src/TBE.Logic/Characters/Experience.cs index 937285b..5abdd9f 100644 --- a/src/TBE.Logic/Characters/Experience.cs +++ b/src/TBE.Logic/Characters/Experience.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.Characters +namespace TBE.Logic.Characters { public static class Experience { diff --git a/src/TBE.Logic/Encounters/AIAction.cs b/src/TBE.Logic/Encounters/AIAction.cs index 207a650..8e124f8 100644 --- a/src/TBE.Logic/Encounters/AIAction.cs +++ b/src/TBE.Logic/Encounters/AIAction.cs @@ -3,7 +3,7 @@ using System.Numerics; using System.Text; -namespace Battle.Logic.Encounters +namespace TBE.Logic.Encounters { public class AIAction { diff --git a/src/TBE.Logic/Encounters/DamageRange.cs b/src/TBE.Logic/Encounters/DamageRange.cs index cfcb5da..e8ca600 100644 --- a/src/TBE.Logic/Encounters/DamageRange.cs +++ b/src/TBE.Logic/Encounters/DamageRange.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.Encounters +namespace TBE.Logic.Encounters { public class DamageRange { diff --git a/src/TBE.Logic/Encounters/Encounter.cs b/src/TBE.Logic/Encounters/Encounter.cs index fb77488..7ee15ea 100644 --- a/src/TBE.Logic/Encounters/Encounter.cs +++ b/src/TBE.Logic/Encounters/Encounter.cs @@ -1,13 +1,13 @@ -using Battle.Logic.AbilitiesAndEffects; -using Battle.Logic.Characters; -using Battle.Logic.Items; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.AbilitiesAndEffects; +using TBE.Logic.Characters; +using TBE.Logic.Items; +using TBE.Logic.Map; +using TBE.Logic.Utility; using System.Collections.Generic; using System.Numerics; using System.Text; -namespace Battle.Logic.Encounters +namespace TBE.Logic.Encounters { public static class Encounter { diff --git a/src/TBE.Logic/Encounters/EncounterCore.cs b/src/TBE.Logic/Encounters/EncounterCore.cs index 2eba071..388fa40 100644 --- a/src/TBE.Logic/Encounters/EncounterCore.cs +++ b/src/TBE.Logic/Encounters/EncounterCore.cs @@ -1,10 +1,10 @@ -using Battle.Logic.AbilitiesAndEffects; -using Battle.Logic.Characters; -using Battle.Logic.Items; +using TBE.Logic.AbilitiesAndEffects; +using TBE.Logic.Characters; +using TBE.Logic.Items; using System.Collections.Generic; using System.Numerics; -namespace Battle.Logic.Encounters +namespace TBE.Logic.Encounters { public static class EncounterCore { diff --git a/src/TBE.Logic/Encounters/EncounterResult.cs b/src/TBE.Logic/Encounters/EncounterResult.cs index 42baff6..96b78ed 100644 --- a/src/TBE.Logic/Encounters/EncounterResult.cs +++ b/src/TBE.Logic/Encounters/EncounterResult.cs @@ -1,10 +1,10 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using System; using System.Collections.Generic; using System.Numerics; using System.Text; -namespace Battle.Logic.Encounters +namespace TBE.Logic.Encounters { public class EncounterResult { diff --git a/src/TBE.Logic/Encounters/MovementAction.cs b/src/TBE.Logic/Encounters/MovementAction.cs index be8ae8b..6fbccfe 100644 --- a/src/TBE.Logic/Encounters/MovementAction.cs +++ b/src/TBE.Logic/Encounters/MovementAction.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Logic.Encounters +namespace TBE.Logic.Encounters { public class MovementAction { diff --git a/src/TBE.Logic/Encounters/Range.cs b/src/TBE.Logic/Encounters/Range.cs index c9a79b8..bfa63a2 100644 --- a/src/TBE.Logic/Encounters/Range.cs +++ b/src/TBE.Logic/Encounters/Range.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Items; +using TBE.Logic.Items; using System.Numerics; -namespace Battle.Logic.Encounters +namespace TBE.Logic.Encounters { //Largely sourced from here: https://www.ufopaedia.org/index.php/Chance_to_Hit_(EU2012)#Weapon_Range diff --git a/src/TBE.Logic/Game/Mission.cs b/src/TBE.Logic/Game/Mission.cs index 2a6cb9a..cf8677c 100644 --- a/src/TBE.Logic/Game/Mission.cs +++ b/src/TBE.Logic/Game/Mission.cs @@ -1,13 +1,13 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Items; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Items; +using TBE.Logic.Map; +using TBE.Logic.Utility; using System; using System.Collections.Generic; using System.Numerics; -namespace Battle.Logic.Game +namespace TBE.Logic.Game { public class Mission { diff --git a/src/TBE.Logic/Game/MissionObjective.cs b/src/TBE.Logic/Game/MissionObjective.cs index dccdcaa..61a16af 100644 --- a/src/TBE.Logic/Game/MissionObjective.cs +++ b/src/TBE.Logic/Game/MissionObjective.cs @@ -1,6 +1,6 @@ using System.Numerics; -namespace Battle.Logic.Game +namespace TBE.Logic.Game { public class MissionObjective { diff --git a/src/TBE.Logic/Game/Team.cs b/src/TBE.Logic/Game/Team.cs index 61f9334..f75e226 100644 --- a/src/TBE.Logic/Game/Team.cs +++ b/src/TBE.Logic/Game/Team.cs @@ -1,8 +1,8 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using System.Collections.Generic; using System.Numerics; -namespace Battle.Logic.Game +namespace TBE.Logic.Game { public class Team { diff --git a/src/TBE.Logic/Game/TeamUtility.cs b/src/TBE.Logic/Game/TeamUtility.cs index a8d1207..7215661 100644 --- a/src/TBE.Logic/Game/TeamUtility.cs +++ b/src/TBE.Logic/Game/TeamUtility.cs @@ -1,8 +1,8 @@ -using Battle.Logic.Characters; -using Battle.Logic.Utility; +using TBE.Logic.Characters; +using TBE.Logic.Utility; using System.Collections.Generic; -namespace Battle.Logic.Game +namespace TBE.Logic.Game { public static class TeamUtility { diff --git a/src/TBE.Logic/GlobalSuppressions.cs b/src/TBE.Logic/GlobalSuppressions.cs index e9221fb..566ccd0 100644 --- a/src/TBE.Logic/GlobalSuppressions.cs +++ b/src/TBE.Logic/GlobalSuppressions.cs @@ -5,8 +5,8 @@ using System.Diagnostics.CodeAnalysis; -[assembly: SuppressMessage("Style", "IDE0066:Convert switch statement to expression", Justification = "", Scope = "member", Target = "~M:Battle.Logic.Encounters.Range.GetShotgunWeaponRangeModifier(System.Int32)~System.Int32")] -[assembly: SuppressMessage("Style", "IDE0066:Convert switch statement to expression", Justification = "", Scope = "member", Target = "~M:Battle.Logic.Encounters.Range.GetSniperWeaponRangeModifier(System.Int32)~System.Int32")] -[assembly: SuppressMessage("Style", "IDE0066:Convert switch statement to expression", Justification = "", Scope = "member", Target = "~M:Battle.Logic.Encounters.Range.GetStandardWeaponRangeModifier(System.Int32)~System.Int32")] -[assembly: SuppressMessage("Style", "IDE0066:Convert switch statement to expression", Justification = "", Scope = "member", Target = "~M:Battle.Logic.Encounters.Range.GetRangeModifier(Battle.Logic.Items.Weapon,System.Int32)~System.Int32")] -[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "", Scope = "member", Target = "~P:Battle.Logic.Characters.Character._location")] +[assembly: SuppressMessage("Style", "IDE0066:Convert switch statement to expression", Justification = "", Scope = "member", Target = "~M:TBE.Logic.Encounters.Range.GetShotgunWeaponRangeModifier(System.Int32)~System.Int32")] +[assembly: SuppressMessage("Style", "IDE0066:Convert switch statement to expression", Justification = "", Scope = "member", Target = "~M:TBE.Logic.Encounters.Range.GetSniperWeaponRangeModifier(System.Int32)~System.Int32")] +[assembly: SuppressMessage("Style", "IDE0066:Convert switch statement to expression", Justification = "", Scope = "member", Target = "~M:TBE.Logic.Encounters.Range.GetStandardWeaponRangeModifier(System.Int32)~System.Int32")] +[assembly: SuppressMessage("Style", "IDE0066:Convert switch statement to expression", Justification = "", Scope = "member", Target = "~M:TBE.Logic.Encounters.Range.GetRangeModifier(TBE.Logic.Items.Weapon,System.Int32)~System.Int32")] +[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "", Scope = "member", Target = "~P:TBE.Logic.Characters.Character._location")] diff --git a/src/TBE.Logic/Items/Item.cs b/src/TBE.Logic/Items/Item.cs index 1d34c6c..370da6b 100644 --- a/src/TBE.Logic/Items/Item.cs +++ b/src/TBE.Logic/Items/Item.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.Items +namespace TBE.Logic.Items { public class Item { diff --git a/src/TBE.Logic/Items/ItemPool.cs b/src/TBE.Logic/Items/ItemPool.cs index a19b191..41b6690 100644 --- a/src/TBE.Logic/Items/ItemPool.cs +++ b/src/TBE.Logic/Items/ItemPool.cs @@ -1,5 +1,5 @@  -namespace Battle.Logic.Items +namespace TBE.Logic.Items { public static class ItemPool { diff --git a/src/TBE.Logic/Items/Weapon.cs b/src/TBE.Logic/Items/Weapon.cs index ce7b7b9..aafae57 100644 --- a/src/TBE.Logic/Items/Weapon.cs +++ b/src/TBE.Logic/Items/Weapon.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.Items +namespace TBE.Logic.Items { public class Weapon { diff --git a/src/TBE.Logic/Items/WeaponPool.cs b/src/TBE.Logic/Items/WeaponPool.cs index ebacd4b..17460f3 100644 --- a/src/TBE.Logic/Items/WeaponPool.cs +++ b/src/TBE.Logic/Items/WeaponPool.cs @@ -1,5 +1,5 @@  -namespace Battle.Logic.Items +namespace TBE.Logic.Items { public static class WeaponPool { diff --git a/src/TBE.Logic/Map/CoverType.cs b/src/TBE.Logic/Map/CoverType.cs index 05acc38..96f53c0 100644 --- a/src/TBE.Logic/Map/CoverType.cs +++ b/src/TBE.Logic/Map/CoverType.cs @@ -1,4 +1,4 @@ -namespace Battle.Logic.Map +namespace TBE.Logic.Map { public static class CoverType { diff --git a/src/TBE.Logic/Map/FieldOfView.cs b/src/TBE.Logic/Map/FieldOfView.cs index b93c8b8..5067416 100644 --- a/src/TBE.Logic/Map/FieldOfView.cs +++ b/src/TBE.Logic/Map/FieldOfView.cs @@ -1,11 +1,11 @@ -using Battle.Logic.Characters; -using Battle.Logic.Game; +using TBE.Logic.Characters; +using TBE.Logic.Game; using System; using System.Collections.Generic; using System.Linq; using System.Numerics; -namespace Battle.Logic.Map +namespace TBE.Logic.Map { public static class FieldOfView { diff --git a/src/TBE.Logic/Map/MapCore.cs b/src/TBE.Logic/Map/MapCore.cs index 3441cdd..931b77c 100644 --- a/src/TBE.Logic/Map/MapCore.cs +++ b/src/TBE.Logic/Map/MapCore.cs @@ -1,11 +1,11 @@ -using Battle.Logic.Encounters; +using TBE.Logic.Encounters; using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; -namespace Battle.Logic.Map +namespace TBE.Logic.Map { public static class MapCore { diff --git a/src/TBE.Logic/Map/MapGeneration.cs b/src/TBE.Logic/Map/MapGeneration.cs index f1579e4..c791ca8 100644 --- a/src/TBE.Logic/Map/MapGeneration.cs +++ b/src/TBE.Logic/Map/MapGeneration.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Utility; +using TBE.Logic.Utility; using System; -namespace Battle.Logic.Map +namespace TBE.Logic.Map { public static class MapGeneration { diff --git a/src/TBE.Logic/Map/MapTile.cs b/src/TBE.Logic/Map/MapTile.cs index 5cddb4e..81ba4bb 100644 --- a/src/TBE.Logic/Map/MapTile.cs +++ b/src/TBE.Logic/Map/MapTile.cs @@ -1,7 +1,7 @@ using System; using System.Numerics; -namespace Battle.Logic.Map +namespace TBE.Logic.Map { public class MapTile { diff --git a/src/TBE.Logic/Map/MapTileItem.cs b/src/TBE.Logic/Map/MapTileItem.cs index d495f43..c122bf1 100644 --- a/src/TBE.Logic/Map/MapTileItem.cs +++ b/src/TBE.Logic/Map/MapTileItem.cs @@ -1,4 +1,4 @@ -//namespace Battle.Logic.Map +//namespace TBE.Logic.Map //{ // public class MapTileItem // { diff --git a/src/TBE.Logic/Map/MovementPossibileTiles.cs b/src/TBE.Logic/Map/MovementPossibileTiles.cs index 73b575b..f1ad848 100644 --- a/src/TBE.Logic/Map/MovementPossibileTiles.cs +++ b/src/TBE.Logic/Map/MovementPossibileTiles.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Logic.Map +namespace TBE.Logic.Map { public static class MovementPossibileTiles { diff --git a/src/TBE.Logic/Map/PathFinding.cs b/src/TBE.Logic/Map/PathFinding.cs index 6d01636..2747817 100644 --- a/src/TBE.Logic/Map/PathFinding.cs +++ b/src/TBE.Logic/Map/PathFinding.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Logic.Map +namespace TBE.Logic.Map { public static class PathFinding { diff --git a/src/TBE.Logic/Map/PathFindingResult.cs b/src/TBE.Logic/Map/PathFindingResult.cs index c2e18b7..51de3ef 100644 --- a/src/TBE.Logic/Map/PathFindingResult.cs +++ b/src/TBE.Logic/Map/PathFindingResult.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Logic.Map +namespace TBE.Logic.Map { public class PathFindingResult { diff --git a/src/TBE.Logic/Research/ResearchController.cs b/src/TBE.Logic/Research/ResearchController.cs index c986a97..f9f83f6 100644 --- a/src/TBE.Logic/Research/ResearchController.cs +++ b/src/TBE.Logic/Research/ResearchController.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Battle.Logic.Research +namespace TBE.Logic.Research { public class ResearchController { diff --git a/src/TBE.Logic/Research/ResearchItem.cs b/src/TBE.Logic/Research/ResearchItem.cs index c57869f..5e07fb3 100644 --- a/src/TBE.Logic/Research/ResearchItem.cs +++ b/src/TBE.Logic/Research/ResearchItem.cs @@ -1,6 +1,6 @@ -using Battle.Logic.Items; +using TBE.Logic.Items; -namespace Battle.Logic.Research +namespace TBE.Logic.Research { public class ResearchItem { diff --git a/src/TBE.Logic/Research/ResearchPool.cs b/src/TBE.Logic/Research/ResearchPool.cs index ce349b7..d3534ce 100644 --- a/src/TBE.Logic/Research/ResearchPool.cs +++ b/src/TBE.Logic/Research/ResearchPool.cs @@ -1,5 +1,5 @@  -namespace Battle.Logic.Research +namespace TBE.Logic.Research { public static class ResearchPool { diff --git a/src/TBE.Logic/SaveGames/GameSerialization.cs b/src/TBE.Logic/SaveGames/GameSerialization.cs index 2c724f8..a1181f3 100644 --- a/src/TBE.Logic/SaveGames/GameSerialization.cs +++ b/src/TBE.Logic/SaveGames/GameSerialization.cs @@ -1,8 +1,8 @@ -using Battle.Logic.Game; +using TBE.Logic.Game; using Newtonsoft.Json; using System.IO; -namespace Battle.Logic.SaveGames +namespace TBE.Logic.SaveGames { public static class GameSerialization { diff --git a/src/TBE.Logic/Utility/RandomNumberQueue.cs b/src/TBE.Logic/Utility/RandomNumberQueue.cs index ef343f8..1adc625 100644 --- a/src/TBE.Logic/Utility/RandomNumberQueue.cs +++ b/src/TBE.Logic/Utility/RandomNumberQueue.cs @@ -2,7 +2,7 @@ using System; using System.Collections.Generic; -namespace Battle.Logic.Utility +namespace TBE.Logic.Utility { public class RandomNumberQueue { diff --git a/src/TBE.Logic/Utility/RandomNumbers.cs b/src/TBE.Logic/Utility/RandomNumbers.cs index d820aa2..b8dbf7e 100644 --- a/src/TBE.Logic/Utility/RandomNumbers.cs +++ b/src/TBE.Logic/Utility/RandomNumbers.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace Battle.Logic.Utility +namespace TBE.Logic.Utility { public static class RandomNumber { diff --git a/src/TBE.Logic/Utility/WrappingList.cs b/src/TBE.Logic/Utility/WrappingList.cs index 71c5813..e24e113 100644 --- a/src/TBE.Logic/Utility/WrappingList.cs +++ b/src/TBE.Logic/Utility/WrappingList.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using System.Collections.Generic; -namespace Battle.Logic.Utility +namespace TBE.Logic.Utility { /// /// A wrapping list object, that allows you to move forward or backwards through a list, wrapping to the beginning/end, if required diff --git a/src/TBE.PerformanceProfiling/Program.cs b/src/TBE.PerformanceProfiling/Program.cs index 54c4199..346ac2f 100644 --- a/src/TBE.PerformanceProfiling/Program.cs +++ b/src/TBE.PerformanceProfiling/Program.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.SaveGames; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.SaveGames; using System; using System.IO; using System.Reflection; diff --git a/src/TBE.Tests/Characters/CharacterAITests.cs b/src/TBE.Tests/Characters/CharacterAITests.cs index d8380c6..d42e410 100644 --- a/src/TBE.Tests/Characters/CharacterAITests.cs +++ b/src/TBE.Tests/Characters/CharacterAITests.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Characters diff --git a/src/TBE.Tests/Characters/CharacterActionTests.cs b/src/TBE.Tests/Characters/CharacterActionTests.cs index f67f8fb..e1320c4 100644 --- a/src/TBE.Tests/Characters/CharacterActionTests.cs +++ b/src/TBE.Tests/Characters/CharacterActionTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; diff --git a/src/TBE.Tests/Characters/CharacterEffectTests.cs b/src/TBE.Tests/Characters/CharacterEffectTests.cs index 18c33c9..c65be1b 100644 --- a/src/TBE.Tests/Characters/CharacterEffectTests.cs +++ b/src/TBE.Tests/Characters/CharacterEffectTests.cs @@ -1,5 +1,5 @@ -using Battle.Logic.AbilitiesAndEffects; -using Battle.Logic.Characters; +using TBE.Logic.AbilitiesAndEffects; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Characters diff --git a/src/TBE.Tests/Characters/CharacterExperienceTests.cs b/src/TBE.Tests/Characters/CharacterExperienceTests.cs index bf26633..3bb2f07 100644 --- a/src/TBE.Tests/Characters/CharacterExperienceTests.cs +++ b/src/TBE.Tests/Characters/CharacterExperienceTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Characters diff --git a/src/TBE.Tests/Characters/CharacterItemTests.cs b/src/TBE.Tests/Characters/CharacterItemTests.cs index 992b4f2..21fcbf8 100644 --- a/src/TBE.Tests/Characters/CharacterItemTests.cs +++ b/src/TBE.Tests/Characters/CharacterItemTests.cs @@ -1,5 +1,5 @@ -using Battle.Logic.Characters; -using Battle.Logic.Items; +using TBE.Logic.Characters; +using TBE.Logic.Items; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Characters diff --git a/src/TBE.Tests/Characters/CharacterLevelUpTests.cs b/src/TBE.Tests/Characters/CharacterLevelUpTests.cs index 934d871..1bab45d 100644 --- a/src/TBE.Tests/Characters/CharacterLevelUpTests.cs +++ b/src/TBE.Tests/Characters/CharacterLevelUpTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Characters diff --git a/src/TBE.Tests/Characters/CharacterTests.cs b/src/TBE.Tests/Characters/CharacterTests.cs index de8d3f5..ecc0ee8 100644 --- a/src/TBE.Tests/Characters/CharacterTests.cs +++ b/src/TBE.Tests/Characters/CharacterTests.cs @@ -1,5 +1,5 @@ -using Battle.Logic.AbilitiesAndEffects; -using Battle.Logic.Characters; +using TBE.Logic.AbilitiesAndEffects; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; diff --git a/src/TBE.Tests/Characters/CoverAdvancedTests.cs b/src/TBE.Tests/Characters/CoverAdvancedTests.cs index d46ad08..1d2eaab 100644 --- a/src/TBE.Tests/Characters/CoverAdvancedTests.cs +++ b/src/TBE.Tests/Characters/CoverAdvancedTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Characters/CoverBaseTests.cs b/src/TBE.Tests/Characters/CoverBaseTests.cs index 69ffddf..a0761c3 100644 --- a/src/TBE.Tests/Characters/CoverBaseTests.cs +++ b/src/TBE.Tests/Characters/CoverBaseTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Characters/CoverEastTests.cs b/src/TBE.Tests/Characters/CoverEastTests.cs index b272be2..7021dc0 100644 --- a/src/TBE.Tests/Characters/CoverEastTests.cs +++ b/src/TBE.Tests/Characters/CoverEastTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Characters/CoverNorthTests.cs b/src/TBE.Tests/Characters/CoverNorthTests.cs index dc53afa..9da8469 100644 --- a/src/TBE.Tests/Characters/CoverNorthTests.cs +++ b/src/TBE.Tests/Characters/CoverNorthTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Characters/CoverSouthTests.cs b/src/TBE.Tests/Characters/CoverSouthTests.cs index 194071e..c041e12 100644 --- a/src/TBE.Tests/Characters/CoverSouthTests.cs +++ b/src/TBE.Tests/Characters/CoverSouthTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Characters/CoverUtility.cs b/src/TBE.Tests/Characters/CoverUtility.cs index f1a39e5..4c96a40 100644 --- a/src/TBE.Tests/Characters/CoverUtility.cs +++ b/src/TBE.Tests/Characters/CoverUtility.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Map; +using TBE.Logic.Map; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Characters/CoverWestTests.cs b/src/TBE.Tests/Characters/CoverWestTests.cs index c95396f..aa1cca7 100644 --- a/src/TBE.Tests/Characters/CoverWestTests.cs +++ b/src/TBE.Tests/Characters/CoverWestTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Characters; +using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Encounters/AbilityAttackTests.cs b/src/TBE.Tests/Encounters/AbilityAttackTests.cs index cccaca7..cc43c75 100644 --- a/src/TBE.Tests/Encounters/AbilityAttackTests.cs +++ b/src/TBE.Tests/Encounters/AbilityAttackTests.cs @@ -1,8 +1,8 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Items; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Items; +using TBE.Logic.Map; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; diff --git a/src/TBE.Tests/Encounters/AreaAttackTests.cs b/src/TBE.Tests/Encounters/AreaAttackTests.cs index 993f64f..ec5e2c1 100644 --- a/src/TBE.Tests/Encounters/AreaAttackTests.cs +++ b/src/TBE.Tests/Encounters/AreaAttackTests.cs @@ -1,9 +1,9 @@ -using Battle.Logic.AbilitiesAndEffects; -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.AbilitiesAndEffects; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Encounters/ArmorAttackTests.cs b/src/TBE.Tests/Encounters/ArmorAttackTests.cs index e8a30fb..f4a7a6e 100644 --- a/src/TBE.Tests/Encounters/ArmorAttackTests.cs +++ b/src/TBE.Tests/Encounters/ArmorAttackTests.cs @@ -1,9 +1,9 @@ -using Battle.Logic.AbilitiesAndEffects; -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Items; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.AbilitiesAndEffects; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Items; +using TBE.Logic.Map; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; diff --git a/src/TBE.Tests/Encounters/RangeTests.cs b/src/TBE.Tests/Encounters/RangeTests.cs index 74888d8..578b938 100644 --- a/src/TBE.Tests/Encounters/RangeTests.cs +++ b/src/TBE.Tests/Encounters/RangeTests.cs @@ -1,5 +1,5 @@ -using Battle.Logic.Encounters; -using Battle.Logic.Items; +using TBE.Logic.Encounters; +using TBE.Logic.Items; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Encounters diff --git a/src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs b/src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs index 7fde652..44480a5 100644 --- a/src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs +++ b/src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs @@ -1,5 +1,5 @@ -using Battle.Logic.Characters; -using Battle.Logic.Game; +using TBE.Logic.Characters; +using TBE.Logic.Game; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Numerics; diff --git a/src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs b/src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs index 50b6cd4..acdfba7 100644 --- a/src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs +++ b/src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs @@ -1,6 +1,6 @@ -using Battle.Logic.Characters; -using Battle.Logic.Game; -using Battle.Logic.Map; +using TBE.Logic.Characters; +using TBE.Logic.Game; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/GameController/TeamTests.cs b/src/TBE.Tests/GameController/TeamTests.cs index 61fea67..1cc366f 100644 --- a/src/TBE.Tests/GameController/TeamTests.cs +++ b/src/TBE.Tests/GameController/TeamTests.cs @@ -1,5 +1,5 @@ -using Battle.Logic.Characters; -using Battle.Logic.Game; +using TBE.Logic.Characters; +using TBE.Logic.Game; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Numerics; diff --git a/src/TBE.Tests/Items/ItemTests.cs b/src/TBE.Tests/Items/ItemTests.cs index 57847ee..54daa22 100644 --- a/src/TBE.Tests/Items/ItemTests.cs +++ b/src/TBE.Tests/Items/ItemTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Items; +using TBE.Logic.Items; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Items diff --git a/src/TBE.Tests/Items/WeaponTests.cs b/src/TBE.Tests/Items/WeaponTests.cs index a6bf4e0..3fcc2a7 100644 --- a/src/TBE.Tests/Items/WeaponTests.cs +++ b/src/TBE.Tests/Items/WeaponTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Items; +using TBE.Logic.Items; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Items diff --git a/src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs b/src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs index f5474a5..af996ee 100644 --- a/src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs +++ b/src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Map; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Map/CharacterFieldOfViewTests.cs b/src/TBE.Tests/Map/CharacterFieldOfViewTests.cs index 1572bb3..3dff654 100644 --- a/src/TBE.Tests/Map/CharacterFieldOfViewTests.cs +++ b/src/TBE.Tests/Map/CharacterFieldOfViewTests.cs @@ -1,6 +1,6 @@ -using Battle.Logic.Characters; -using Battle.Logic.Game; -using Battle.Logic.Map; +using TBE.Logic.Characters; +using TBE.Logic.Game; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Map/FieldOfViewTests.cs b/src/TBE.Tests/Map/FieldOfViewTests.cs index 29b88a3..3327377 100644 --- a/src/TBE.Tests/Map/FieldOfViewTests.cs +++ b/src/TBE.Tests/Map/FieldOfViewTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Map; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Map/MapGenerationTests.cs b/src/TBE.Tests/Map/MapGenerationTests.cs index 9a58da8..08f9bfa 100644 --- a/src/TBE.Tests/Map/MapGenerationTests.cs +++ b/src/TBE.Tests/Map/MapGenerationTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Map; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Map diff --git a/src/TBE.Tests/Map/MissedShotsTests.cs b/src/TBE.Tests/Map/MissedShotsTests.cs index f6b3197..94c551a 100644 --- a/src/TBE.Tests/Map/MissedShotsTests.cs +++ b/src/TBE.Tests/Map/MissedShotsTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Map; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Numerics; diff --git a/src/TBE.Tests/Map/MovementTests.cs b/src/TBE.Tests/Map/MovementTests.cs index 3c718ef..6840166 100644 --- a/src/TBE.Tests/Map/MovementTests.cs +++ b/src/TBE.Tests/Map/MovementTests.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Map; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Map/OverwatchTests.cs b/src/TBE.Tests/Map/OverwatchTests.cs index a464627..391faef 100644 --- a/src/TBE.Tests/Map/OverwatchTests.cs +++ b/src/TBE.Tests/Map/OverwatchTests.cs @@ -1,9 +1,9 @@ -using Battle.Logic.AbilitiesAndEffects; -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.AbilitiesAndEffects; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Map/TeamFieldOfViewTests.cs b/src/TBE.Tests/Map/TeamFieldOfViewTests.cs index f337bcb..2fd8abd 100644 --- a/src/TBE.Tests/Map/TeamFieldOfViewTests.cs +++ b/src/TBE.Tests/Map/TeamFieldOfViewTests.cs @@ -1,8 +1,8 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Research/ResearchControllerTests.cs b/src/TBE.Tests/Research/ResearchControllerTests.cs index 4f1ecc7..37b66a7 100644 --- a/src/TBE.Tests/Research/ResearchControllerTests.cs +++ b/src/TBE.Tests/Research/ResearchControllerTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Research; +using TBE.Logic.Research; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; diff --git a/src/TBE.Tests/Research/ResearchGraphTests.cs b/src/TBE.Tests/Research/ResearchGraphTests.cs index 64b2ccf..aea0be1 100644 --- a/src/TBE.Tests/Research/ResearchGraphTests.cs +++ b/src/TBE.Tests/Research/ResearchGraphTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Research; +using TBE.Logic.Research; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Research diff --git a/src/TBE.Tests/Research/ResearchTests.cs b/src/TBE.Tests/Research/ResearchTests.cs index badbceb..08e69ad 100644 --- a/src/TBE.Tests/Research/ResearchTests.cs +++ b/src/TBE.Tests/Research/ResearchTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Research; +using TBE.Logic.Research; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Battle.Tests.Research diff --git a/src/TBE.Tests/SaveGames/GameSerializationTests.cs b/src/TBE.Tests/SaveGames/GameSerializationTests.cs index e4a799c..d35b825 100644 --- a/src/TBE.Tests/SaveGames/GameSerializationTests.cs +++ b/src/TBE.Tests/SaveGames/GameSerializationTests.cs @@ -1,5 +1,5 @@ -using Battle.Logic.Game; -using Battle.Logic.SaveGames; +using TBE.Logic.Game; +using TBE.Logic.SaveGames; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Reflection; diff --git a/src/TBE.Tests/Scenarios/AICoverCrashTest.cs b/src/TBE.Tests/Scenarios/AICoverCrashTest.cs index 188d7db..ffb9ee6 100644 --- a/src/TBE.Tests/Scenarios/AICoverCrashTest.cs +++ b/src/TBE.Tests/Scenarios/AICoverCrashTest.cs @@ -1,6 +1,6 @@ -using Battle.Logic.Characters; -using Battle.Logic.Game; -using Battle.Logic.SaveGames; +using TBE.Logic.Characters; +using TBE.Logic.Game; +using TBE.Logic.SaveGames; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Reflection; diff --git a/src/TBE.Tests/Scenarios/AICrashTest.cs b/src/TBE.Tests/Scenarios/AICrashTest.cs index 01be64f..f6da081 100644 --- a/src/TBE.Tests/Scenarios/AICrashTest.cs +++ b/src/TBE.Tests/Scenarios/AICrashTest.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.SaveGames; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.SaveGames; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Reflection; diff --git a/src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs b/src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs index 86959b4..91887bf 100644 --- a/src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs +++ b/src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs @@ -1,6 +1,6 @@ -using Battle.Logic.Characters; -using Battle.Logic.Game; -using Battle.Logic.SaveGames; +using TBE.Logic.Characters; +using TBE.Logic.Game; +using TBE.Logic.SaveGames; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Reflection; diff --git a/src/TBE.Tests/Scenarios/AITargetingTest.cs b/src/TBE.Tests/Scenarios/AITargetingTest.cs index 8669e7d..cc60d76 100644 --- a/src/TBE.Tests/Scenarios/AITargetingTest.cs +++ b/src/TBE.Tests/Scenarios/AITargetingTest.cs @@ -1,8 +1,8 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; -using Battle.Logic.SaveGames; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; +using TBE.Logic.SaveGames; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.IO; diff --git a/src/TBE.Tests/Scenarios/CoverScenarioTest.cs b/src/TBE.Tests/Scenarios/CoverScenarioTest.cs index dd7a538..407a443 100644 --- a/src/TBE.Tests/Scenarios/CoverScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/CoverScenarioTest.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs b/src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs index af8bff5..ffefa21 100644 --- a/src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs @@ -1,6 +1,6 @@ -using Battle.Logic.Characters; -using Battle.Logic.Game; -using Battle.Logic.Map; +using TBE.Logic.Characters; +using TBE.Logic.Game; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; diff --git a/src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs b/src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs index 5732d16..4785c07 100644 --- a/src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs b/src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs index ab03c83..f9ec962 100644 --- a/src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs b/src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs index a4663a9..1139f3b 100644 --- a/src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs @@ -1,9 +1,9 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; -using Battle.Logic.SaveGames; -using Battle.Logic.Utility; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; +using TBE.Logic.SaveGames; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.IO; diff --git a/src/TBE.Tests/Scenarios/ShootingScenarioTests.cs b/src/TBE.Tests/Scenarios/ShootingScenarioTests.cs index 0bfa799..f953566 100644 --- a/src/TBE.Tests/Scenarios/ShootingScenarioTests.cs +++ b/src/TBE.Tests/Scenarios/ShootingScenarioTests.cs @@ -1,8 +1,8 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Scenarios/TargetingScenarioTest.cs b/src/TBE.Tests/Scenarios/TargetingScenarioTest.cs index 103bbaf..68c193f 100644 --- a/src/TBE.Tests/Scenarios/TargetingScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/TargetingScenarioTest.cs @@ -1,7 +1,7 @@ -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Map; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; diff --git a/src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs b/src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs index d9d7cf4..a485197 100644 --- a/src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs @@ -1,6 +1,6 @@ -using Battle.Logic.Characters; -using Battle.Logic.Game; -using Battle.Logic.Map; +using TBE.Logic.Characters; +using TBE.Logic.Game; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Numerics; diff --git a/src/TBE.Tests/Utility/QueueTests.cs b/src/TBE.Tests/Utility/QueueTests.cs index f2210aa..c66bc19 100644 --- a/src/TBE.Tests/Utility/QueueTests.cs +++ b/src/TBE.Tests/Utility/QueueTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Utility; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; diff --git a/src/TBE.Tests/Utility/RandomNumberTests.cs b/src/TBE.Tests/Utility/RandomNumberTests.cs index b6715e2..7e46769 100644 --- a/src/TBE.Tests/Utility/RandomNumberTests.cs +++ b/src/TBE.Tests/Utility/RandomNumberTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Utility; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; diff --git a/src/TBE.Tests/Utility/WrappingListTests.cs b/src/TBE.Tests/Utility/WrappingListTests.cs index 3cf4836..8f41d5e 100644 --- a/src/TBE.Tests/Utility/WrappingListTests.cs +++ b/src/TBE.Tests/Utility/WrappingListTests.cs @@ -1,5 +1,5 @@ -using Battle.Logic.Characters; -using Battle.Logic.Utility; +using TBE.Logic.Characters; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; From ef31440da6bce9e616833bb34ddf7fd1be8fc182 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:31:13 -0400 Subject: [PATCH 14/17] fixed preformance profiling project --- src/TBE.PerformanceProfiling/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TBE.PerformanceProfiling/Program.cs b/src/TBE.PerformanceProfiling/Program.cs index 346ac2f..4b8d23e 100644 --- a/src/TBE.PerformanceProfiling/Program.cs +++ b/src/TBE.PerformanceProfiling/Program.cs @@ -6,7 +6,7 @@ using System.IO; using System.Reflection; -namespace Battle.PerformanceProfiling +namespace TBE.PerformanceProfiling { internal class Program { From 73a2dcb53d3fea61da9bb2306cd496644a6d5900 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:31:48 -0400 Subject: [PATCH 15/17] Updated tests project name --- src/TBE.Tests/Characters/CharacterAITests.cs | 2 +- src/TBE.Tests/Characters/CharacterActionTests.cs | 2 +- src/TBE.Tests/Characters/CharacterEffectTests.cs | 2 +- src/TBE.Tests/Characters/CharacterExperienceTests.cs | 2 +- src/TBE.Tests/Characters/CharacterItemTests.cs | 2 +- src/TBE.Tests/Characters/CharacterLevelUpTests.cs | 2 +- src/TBE.Tests/Characters/CharacterTests.cs | 2 +- src/TBE.Tests/Characters/CoverAdvancedTests.cs | 2 +- src/TBE.Tests/Characters/CoverBaseTests.cs | 2 +- src/TBE.Tests/Characters/CoverEastTests.cs | 2 +- src/TBE.Tests/Characters/CoverNorthTests.cs | 2 +- src/TBE.Tests/Characters/CoverSouthTests.cs | 2 +- src/TBE.Tests/Characters/CoverUtility.cs | 2 +- src/TBE.Tests/Characters/CoverWestTests.cs | 2 +- src/TBE.Tests/Encounters/AbilityAttackTests.cs | 2 +- src/TBE.Tests/Encounters/AreaAttackTests.cs | 2 +- src/TBE.Tests/Encounters/ArmorAttackTests.cs | 2 +- src/TBE.Tests/Encounters/RangeTests.cs | 2 +- src/TBE.Tests/Encounters/RegularAttackTests.cs | 2 +- src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs | 2 +- src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs | 2 +- src/TBE.Tests/GameController/TeamTests.cs | 2 +- src/TBE.Tests/Items/ItemTests.cs | 2 +- src/TBE.Tests/Items/WeaponTests.cs | 2 +- src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs | 2 +- src/TBE.Tests/Map/CharacterFieldOfViewTests.cs | 2 +- src/TBE.Tests/Map/FieldOfViewTests.cs | 2 +- src/TBE.Tests/Map/MapGenerationTests.cs | 2 +- src/TBE.Tests/Map/MissedShotsTests.cs | 2 +- src/TBE.Tests/Map/MovementTests.cs | 2 +- src/TBE.Tests/Map/OverwatchTests.cs | 2 +- src/TBE.Tests/Map/PathFindingTests.cs | 2 +- src/TBE.Tests/Map/TeamFieldOfViewTests.cs | 2 +- src/TBE.Tests/Research/ResearchControllerTests.cs | 2 +- src/TBE.Tests/Research/ResearchGraphTests.cs | 2 +- src/TBE.Tests/Research/ResearchTests.cs | 2 +- src/TBE.Tests/SaveGames/GameSerializationTests.cs | 2 +- src/TBE.Tests/Scenarios/AICoverCrashTest.cs | 2 +- src/TBE.Tests/Scenarios/AICrashTest.cs | 2 +- src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs | 2 +- src/TBE.Tests/Scenarios/AITargetingTest.cs | 2 +- src/TBE.Tests/Scenarios/CoverScenarioTest.cs | 2 +- src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs | 2 +- src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs | 2 +- src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs | 2 +- src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs | 2 +- src/TBE.Tests/Scenarios/ShootingScenarioTests.cs | 2 +- src/TBE.Tests/Scenarios/TargetingScenarioTest.cs | 2 +- src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs | 2 +- src/TBE.Tests/Utility/QueueTests.cs | 2 +- src/TBE.Tests/Utility/RandomNumberTests.cs | 2 +- src/TBE.Tests/Utility/WrappingListTests.cs | 2 +- 52 files changed, 52 insertions(+), 52 deletions(-) diff --git a/src/TBE.Tests/Characters/CharacterAITests.cs b/src/TBE.Tests/Characters/CharacterAITests.cs index d42e410..33bb232 100644 --- a/src/TBE.Tests/Characters/CharacterAITests.cs +++ b/src/TBE.Tests/Characters/CharacterAITests.cs @@ -4,7 +4,7 @@ using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L1")] diff --git a/src/TBE.Tests/Characters/CharacterActionTests.cs b/src/TBE.Tests/Characters/CharacterActionTests.cs index e1320c4..7105ff1 100644 --- a/src/TBE.Tests/Characters/CharacterActionTests.cs +++ b/src/TBE.Tests/Characters/CharacterActionTests.cs @@ -2,7 +2,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CharacterEffectTests.cs b/src/TBE.Tests/Characters/CharacterEffectTests.cs index c65be1b..1ed5330 100644 --- a/src/TBE.Tests/Characters/CharacterEffectTests.cs +++ b/src/TBE.Tests/Characters/CharacterEffectTests.cs @@ -2,7 +2,7 @@ using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CharacterExperienceTests.cs b/src/TBE.Tests/Characters/CharacterExperienceTests.cs index 3bb2f07..4f91830 100644 --- a/src/TBE.Tests/Characters/CharacterExperienceTests.cs +++ b/src/TBE.Tests/Characters/CharacterExperienceTests.cs @@ -1,7 +1,7 @@ using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CharacterItemTests.cs b/src/TBE.Tests/Characters/CharacterItemTests.cs index 21fcbf8..546d56a 100644 --- a/src/TBE.Tests/Characters/CharacterItemTests.cs +++ b/src/TBE.Tests/Characters/CharacterItemTests.cs @@ -2,7 +2,7 @@ using TBE.Logic.Items; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CharacterLevelUpTests.cs b/src/TBE.Tests/Characters/CharacterLevelUpTests.cs index 1bab45d..9be57fb 100644 --- a/src/TBE.Tests/Characters/CharacterLevelUpTests.cs +++ b/src/TBE.Tests/Characters/CharacterLevelUpTests.cs @@ -1,7 +1,7 @@ using TBE.Logic.Characters; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CharacterTests.cs b/src/TBE.Tests/Characters/CharacterTests.cs index ecc0ee8..fb347fb 100644 --- a/src/TBE.Tests/Characters/CharacterTests.cs +++ b/src/TBE.Tests/Characters/CharacterTests.cs @@ -3,7 +3,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CoverAdvancedTests.cs b/src/TBE.Tests/Characters/CoverAdvancedTests.cs index 1d2eaab..77f5c4e 100644 --- a/src/TBE.Tests/Characters/CoverAdvancedTests.cs +++ b/src/TBE.Tests/Characters/CoverAdvancedTests.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CoverBaseTests.cs b/src/TBE.Tests/Characters/CoverBaseTests.cs index a0761c3..457578e 100644 --- a/src/TBE.Tests/Characters/CoverBaseTests.cs +++ b/src/TBE.Tests/Characters/CoverBaseTests.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CoverEastTests.cs b/src/TBE.Tests/Characters/CoverEastTests.cs index 7021dc0..d7544d5 100644 --- a/src/TBE.Tests/Characters/CoverEastTests.cs +++ b/src/TBE.Tests/Characters/CoverEastTests.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CoverNorthTests.cs b/src/TBE.Tests/Characters/CoverNorthTests.cs index 9da8469..33c648e 100644 --- a/src/TBE.Tests/Characters/CoverNorthTests.cs +++ b/src/TBE.Tests/Characters/CoverNorthTests.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CoverSouthTests.cs b/src/TBE.Tests/Characters/CoverSouthTests.cs index c041e12..ce341ce 100644 --- a/src/TBE.Tests/Characters/CoverSouthTests.cs +++ b/src/TBE.Tests/Characters/CoverSouthTests.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Characters/CoverUtility.cs b/src/TBE.Tests/Characters/CoverUtility.cs index 4c96a40..7796b2b 100644 --- a/src/TBE.Tests/Characters/CoverUtility.cs +++ b/src/TBE.Tests/Characters/CoverUtility.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { public class CoverUtility { diff --git a/src/TBE.Tests/Characters/CoverWestTests.cs b/src/TBE.Tests/Characters/CoverWestTests.cs index aa1cca7..96d52b7 100644 --- a/src/TBE.Tests/Characters/CoverWestTests.cs +++ b/src/TBE.Tests/Characters/CoverWestTests.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Characters +namespace TBE.Tests.Characters { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Encounters/AbilityAttackTests.cs b/src/TBE.Tests/Encounters/AbilityAttackTests.cs index cc43c75..c29d1c5 100644 --- a/src/TBE.Tests/Encounters/AbilityAttackTests.cs +++ b/src/TBE.Tests/Encounters/AbilityAttackTests.cs @@ -6,7 +6,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; -namespace Battle.Tests.Encounters +namespace TBE.Tests.Encounters { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Encounters/AreaAttackTests.cs b/src/TBE.Tests/Encounters/AreaAttackTests.cs index ec5e2c1..d6b479f 100644 --- a/src/TBE.Tests/Encounters/AreaAttackTests.cs +++ b/src/TBE.Tests/Encounters/AreaAttackTests.cs @@ -8,7 +8,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Encounters +namespace TBE.Tests.Encounters { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Encounters/ArmorAttackTests.cs b/src/TBE.Tests/Encounters/ArmorAttackTests.cs index f4a7a6e..fc1571b 100644 --- a/src/TBE.Tests/Encounters/ArmorAttackTests.cs +++ b/src/TBE.Tests/Encounters/ArmorAttackTests.cs @@ -7,7 +7,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; -namespace Battle.Tests.Encounters +namespace TBE.Tests.Encounters { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Encounters/RangeTests.cs b/src/TBE.Tests/Encounters/RangeTests.cs index 578b938..d1e77bf 100644 --- a/src/TBE.Tests/Encounters/RangeTests.cs +++ b/src/TBE.Tests/Encounters/RangeTests.cs @@ -2,7 +2,7 @@ using TBE.Logic.Items; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Encounters +namespace TBE.Tests.Encounters { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Encounters/RegularAttackTests.cs b/src/TBE.Tests/Encounters/RegularAttackTests.cs index 4eb47fa..5f95c53 100644 --- a/src/TBE.Tests/Encounters/RegularAttackTests.cs +++ b/src/TBE.Tests/Encounters/RegularAttackTests.cs @@ -9,7 +9,7 @@ using System; using System.Collections.Generic; -namespace Battle.Tests.Encounters +namespace TBE.Tests.Encounters { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs b/src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs index 44480a5..04faa52 100644 --- a/src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs +++ b/src/TBE.Tests/GameController/MissionObjectiveComplexTests.cs @@ -3,7 +3,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Numerics; -namespace Battle.Tests.GameController +namespace TBE.Tests.GameController { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs b/src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs index acdfba7..ee3b24a 100644 --- a/src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs +++ b/src/TBE.Tests/GameController/MissionObjectiveSimpleTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.GameController +namespace TBE.Tests.GameController { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/GameController/TeamTests.cs b/src/TBE.Tests/GameController/TeamTests.cs index 1cc366f..27d0ef6 100644 --- a/src/TBE.Tests/GameController/TeamTests.cs +++ b/src/TBE.Tests/GameController/TeamTests.cs @@ -4,7 +4,7 @@ using System; using System.Numerics; -namespace Battle.Tests.GameController +namespace TBE.Tests.GameController { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Items/ItemTests.cs b/src/TBE.Tests/Items/ItemTests.cs index 54daa22..8036ca4 100644 --- a/src/TBE.Tests/Items/ItemTests.cs +++ b/src/TBE.Tests/Items/ItemTests.cs @@ -1,7 +1,7 @@ using TBE.Logic.Items; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Items +namespace TBE.Tests.Items { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Items/WeaponTests.cs b/src/TBE.Tests/Items/WeaponTests.cs index 3fcc2a7..61dc211 100644 --- a/src/TBE.Tests/Items/WeaponTests.cs +++ b/src/TBE.Tests/Items/WeaponTests.cs @@ -1,7 +1,7 @@ using TBE.Logic.Items; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Items +namespace TBE.Tests.Items { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs b/src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs index af996ee..2a7e9cc 100644 --- a/src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs +++ b/src/TBE.Tests/Map/AreaEffectFieldOfViewTests.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Map +namespace TBE.Tests.Map { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Map/CharacterFieldOfViewTests.cs b/src/TBE.Tests/Map/CharacterFieldOfViewTests.cs index 3dff654..d5a6585 100644 --- a/src/TBE.Tests/Map/CharacterFieldOfViewTests.cs +++ b/src/TBE.Tests/Map/CharacterFieldOfViewTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Map +namespace TBE.Tests.Map { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Map/FieldOfViewTests.cs b/src/TBE.Tests/Map/FieldOfViewTests.cs index 3327377..c59c7eb 100644 --- a/src/TBE.Tests/Map/FieldOfViewTests.cs +++ b/src/TBE.Tests/Map/FieldOfViewTests.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Map +namespace TBE.Tests.Map { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Map/MapGenerationTests.cs b/src/TBE.Tests/Map/MapGenerationTests.cs index 08f9bfa..c0d0fdd 100644 --- a/src/TBE.Tests/Map/MapGenerationTests.cs +++ b/src/TBE.Tests/Map/MapGenerationTests.cs @@ -1,7 +1,7 @@ using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Map +namespace TBE.Tests.Map { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Map/MissedShotsTests.cs b/src/TBE.Tests/Map/MissedShotsTests.cs index 94c551a..ec55c09 100644 --- a/src/TBE.Tests/Map/MissedShotsTests.cs +++ b/src/TBE.Tests/Map/MissedShotsTests.cs @@ -2,7 +2,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Numerics; -namespace Battle.Tests.Map +namespace TBE.Tests.Map { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Map/MovementTests.cs b/src/TBE.Tests/Map/MovementTests.cs index 6840166..5bea212 100644 --- a/src/TBE.Tests/Map/MovementTests.cs +++ b/src/TBE.Tests/Map/MovementTests.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Map +namespace TBE.Tests.Map { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Map/OverwatchTests.cs b/src/TBE.Tests/Map/OverwatchTests.cs index 391faef..b4824c4 100644 --- a/src/TBE.Tests/Map/OverwatchTests.cs +++ b/src/TBE.Tests/Map/OverwatchTests.cs @@ -8,7 +8,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Map +namespace TBE.Tests.Map { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Map/PathFindingTests.cs b/src/TBE.Tests/Map/PathFindingTests.cs index a4731c7..00ac376 100644 --- a/src/TBE.Tests/Map/PathFindingTests.cs +++ b/src/TBE.Tests/Map/PathFindingTests.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Numerics; -namespace Battle.Tests.Map +namespace TBE.Tests.Map { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Map/TeamFieldOfViewTests.cs b/src/TBE.Tests/Map/TeamFieldOfViewTests.cs index 2fd8abd..733c921 100644 --- a/src/TBE.Tests/Map/TeamFieldOfViewTests.cs +++ b/src/TBE.Tests/Map/TeamFieldOfViewTests.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Map +namespace TBE.Tests.Map { [TestClass] [TestCategory("L1")] diff --git a/src/TBE.Tests/Research/ResearchControllerTests.cs b/src/TBE.Tests/Research/ResearchControllerTests.cs index 37b66a7..63be372 100644 --- a/src/TBE.Tests/Research/ResearchControllerTests.cs +++ b/src/TBE.Tests/Research/ResearchControllerTests.cs @@ -2,7 +2,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; -namespace Battle.Tests.Research +namespace TBE.Tests.Research { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Research/ResearchGraphTests.cs b/src/TBE.Tests/Research/ResearchGraphTests.cs index aea0be1..be827a9 100644 --- a/src/TBE.Tests/Research/ResearchGraphTests.cs +++ b/src/TBE.Tests/Research/ResearchGraphTests.cs @@ -1,7 +1,7 @@ using TBE.Logic.Research; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Research +namespace TBE.Tests.Research { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Research/ResearchTests.cs b/src/TBE.Tests/Research/ResearchTests.cs index 08e69ad..a7db6b1 100644 --- a/src/TBE.Tests/Research/ResearchTests.cs +++ b/src/TBE.Tests/Research/ResearchTests.cs @@ -1,7 +1,7 @@ using TBE.Logic.Research; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace Battle.Tests.Research +namespace TBE.Tests.Research { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/SaveGames/GameSerializationTests.cs b/src/TBE.Tests/SaveGames/GameSerializationTests.cs index d35b825..b808171 100644 --- a/src/TBE.Tests/SaveGames/GameSerializationTests.cs +++ b/src/TBE.Tests/SaveGames/GameSerializationTests.cs @@ -4,7 +4,7 @@ using System.IO; using System.Reflection; -namespace Battle.Tests.SaveGames +namespace TBE.Tests.SaveGames { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/AICoverCrashTest.cs b/src/TBE.Tests/Scenarios/AICoverCrashTest.cs index ffb9ee6..cd0ecfe 100644 --- a/src/TBE.Tests/Scenarios/AICoverCrashTest.cs +++ b/src/TBE.Tests/Scenarios/AICoverCrashTest.cs @@ -5,7 +5,7 @@ using System.IO; using System.Reflection; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/AICrashTest.cs b/src/TBE.Tests/Scenarios/AICrashTest.cs index f6da081..fd47c46 100644 --- a/src/TBE.Tests/Scenarios/AICrashTest.cs +++ b/src/TBE.Tests/Scenarios/AICrashTest.cs @@ -6,7 +6,7 @@ using System.IO; using System.Reflection; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs b/src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs index 91887bf..9f7c50d 100644 --- a/src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs +++ b/src/TBE.Tests/Scenarios/AINoTargetCrashTest.cs @@ -5,7 +5,7 @@ using System.IO; using System.Reflection; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/AITargetingTest.cs b/src/TBE.Tests/Scenarios/AITargetingTest.cs index cc60d76..2cacd37 100644 --- a/src/TBE.Tests/Scenarios/AITargetingTest.cs +++ b/src/TBE.Tests/Scenarios/AITargetingTest.cs @@ -8,7 +8,7 @@ using System.IO; using System.Reflection; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/CoverScenarioTest.cs b/src/TBE.Tests/Scenarios/CoverScenarioTest.cs index 407a443..03e7887 100644 --- a/src/TBE.Tests/Scenarios/CoverScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/CoverScenarioTest.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] diff --git a/src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs b/src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs index ffefa21..06d799e 100644 --- a/src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/EndOfMissionScenarioTest.cs @@ -4,7 +4,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs b/src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs index 4785c07..a17cf8e 100644 --- a/src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/FieldOfViewScenarioTest.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs b/src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs index f9ec962..13dd182 100644 --- a/src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/MultipleTurnsScenarioTest.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs b/src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs index 1139f3b..9a16c74 100644 --- a/src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/OverwatchScenarioTest.cs @@ -10,7 +10,7 @@ using System.Numerics; using System.Reflection; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/ShootingScenarioTests.cs b/src/TBE.Tests/Scenarios/ShootingScenarioTests.cs index f953566..e218826 100644 --- a/src/TBE.Tests/Scenarios/ShootingScenarioTests.cs +++ b/src/TBE.Tests/Scenarios/ShootingScenarioTests.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/TargetingScenarioTest.cs b/src/TBE.Tests/Scenarios/TargetingScenarioTest.cs index 68c193f..3926c03 100644 --- a/src/TBE.Tests/Scenarios/TargetingScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/TargetingScenarioTest.cs @@ -5,7 +5,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs b/src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs index a485197..aa75ea9 100644 --- a/src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs +++ b/src/TBE.Tests/Scenarios/ToggleSwitchScenarioTest.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Battle.Tests.Scenarios +namespace TBE.Tests.Scenarios { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] diff --git a/src/TBE.Tests/Utility/QueueTests.cs b/src/TBE.Tests/Utility/QueueTests.cs index c66bc19..bf5f83c 100644 --- a/src/TBE.Tests/Utility/QueueTests.cs +++ b/src/TBE.Tests/Utility/QueueTests.cs @@ -2,7 +2,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; -namespace Battle.Tests.Utility +namespace TBE.Tests.Utility { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Utility/RandomNumberTests.cs b/src/TBE.Tests/Utility/RandomNumberTests.cs index 7e46769..344e34c 100644 --- a/src/TBE.Tests/Utility/RandomNumberTests.cs +++ b/src/TBE.Tests/Utility/RandomNumberTests.cs @@ -2,7 +2,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; -namespace Battle.Tests.Utility +namespace TBE.Tests.Utility { [TestClass] [TestCategory("L0")] diff --git a/src/TBE.Tests/Utility/WrappingListTests.cs b/src/TBE.Tests/Utility/WrappingListTests.cs index 8f41d5e..883b5ba 100644 --- a/src/TBE.Tests/Utility/WrappingListTests.cs +++ b/src/TBE.Tests/Utility/WrappingListTests.cs @@ -3,7 +3,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; -namespace Battle.Tests.Utility +namespace TBE.Tests.Utility { [TestClass] [TestCategory("L0")] From ec1f770dc7d2339a18ce8af798cdcdba17ad45fe Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:32:18 -0400 Subject: [PATCH 16/17] Fix to usings --- src/TBE.Tests/Encounters/RegularAttackTests.cs | 14 +++++++------- src/TBE.Tests/Map/PathFindingTests.cs | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/TBE.Tests/Encounters/RegularAttackTests.cs b/src/TBE.Tests/Encounters/RegularAttackTests.cs index 5f95c53..1acf3df 100644 --- a/src/TBE.Tests/Encounters/RegularAttackTests.cs +++ b/src/TBE.Tests/Encounters/RegularAttackTests.cs @@ -1,10 +1,10 @@ -using Battle.Logic.AbilitiesAndEffects; -using Battle.Logic.Characters; -using Battle.Logic.Encounters; -using Battle.Logic.Game; -using Battle.Logic.Items; -using Battle.Logic.Map; -using Battle.Logic.Utility; +using TBE.Logic.AbilitiesAndEffects; +using TBE.Logic.Characters; +using TBE.Logic.Encounters; +using TBE.Logic.Game; +using TBE.Logic.Items; +using TBE.Logic.Map; +using TBE.Logic.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; diff --git a/src/TBE.Tests/Map/PathFindingTests.cs b/src/TBE.Tests/Map/PathFindingTests.cs index 00ac376..9530369 100644 --- a/src/TBE.Tests/Map/PathFindingTests.cs +++ b/src/TBE.Tests/Map/PathFindingTests.cs @@ -1,4 +1,4 @@ -using Battle.Logic.Map; +using TBE.Logic.Map; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Linq; From 69f4efbb89e6589924888ae3c184449b0568aa4f Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Sun, 2 Jul 2023 19:33:44 -0400 Subject: [PATCH 17/17] Updated build script --- .github/workflows/dotnet.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 0140a94..dc7e49f 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -34,27 +34,27 @@ jobs: with: dotnet-version: 6.0.x - name: Run automated tests - run: dotnet test src/Battle.Tests/Battle.Tests.csproj --configuration Debug --logger trx -e:CollectCoverage=true -e:CoverletOutput=TestResults/ -e:CoverletOutputFormat=lcov --settings:./src/Battle.Tests/CodeCoverage.runsettings + run: dotnet test src/TBE.Tests/TBE.Tests.csproj --configuration Debug --logger trx -e:CollectCoverage=true -e:CoverletOutput=TestResults/ -e:CoverletOutputFormat=lcov --settings:./src/TBE.Tests/CodeCoverage.runsettings - name: Publish coverage report to coveralls.io uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: src/Battle.Tests/TestResults/coverage.info + path-to-lcov: src/TBE.Tests/TestResults/coverage.info continue-on-error: true - name: Build code in debug - run: dotnet build src/Battle.Logic/Battle.Logic.csproj --configuration Debug -p:Version='${{ steps.gitversion.outputs.SemVer }}' + run: dotnet build src/TBE.Logic/TBE.Logic.csproj --configuration Debug -p:Version='${{ steps.gitversion.outputs.SemVer }}' - name: Pack code into NuGet package in release - run: dotnet pack src/Battle.Logic/Battle.Logic.csproj --configuration Debug -p:Version='${{ steps.gitversion.outputs.SemVer }}' + run: dotnet pack src/TBE.Logic/TBE.Logic.csproj --configuration Debug -p:Version='${{ steps.gitversion.outputs.SemVer }}' - name: Upload package to GitHub uses: actions/upload-artifact@v3 with: name: package - path: src/Battle.Logic/bin/Debug/netstandard2.0 + path: src/TBE.Logic/bin/Debug/netstandard2.0 - name: Upload nuget package to GitHub uses: actions/upload-artifact@v3 with: name: nugetPackage - path: src/Battle.Logic/bin/Debug/ + path: src/TBE.Logic/bin/Debug/ sonarCloud: @@ -65,7 +65,7 @@ jobs: - name: Run Sonarcloud test uses: samsmithnz/SamsDotNetSonarCloudAction@1.2.0 with: - projects: 'src/Battle.Logic/Battle.Logic.csproj' + projects: 'src/TBE.Logic/TBE.Logic.csproj' dotnet-version: '7.0.x' sonarcloud-organization: samsmithnz-github sonarcloud-project: samsmithnz_Battle