Skip to content

Commit

Permalink
fixed namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lastunicorn committed Jan 15, 2024
1 parent ab71c2e commit b4d0865
Show file tree
Hide file tree
Showing 31 changed files with 34 additions and 29 deletions.
2 changes: 1 addition & 1 deletion sources/Dot.AdventureGame/GameModel/AddOnCollection.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.AdventureGame.LocationModel;
using DustInTheWind.Dot.AdventureGame.ObjectModel;
using DustInTheWind.Dot.Domain.GameModel;

namespace DustInTheWind.Dot.AdventureGame.GameModel
{
Expand Down
1 change: 0 additions & 1 deletion sources/Dot.AdventureGame/GameModel/Game.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Reflection;
using DustInTheWind.Dot.AdventureGame.ActionModel;
using DustInTheWind.Dot.AdventureGame.Actions;
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.AdventureGame.LocationModel;
using DustInTheWind.Dot.AdventureGame.ObjectModel;
using DustInTheWind.Dot.AdventureGame.Verbs;
Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.AdventureGame/GameModel/IAddOn.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.Domain.GameModel;

namespace DustInTheWind.Dot.AdventureGame.GameModel
{
Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.AdventureGame/LocationModel/LocationBase.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using System.Linq;
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.AdventureGame.GameModel;
using DustInTheWind.Dot.AdventureGame.ObjectModel;
using DustInTheWind.Dot.Domain.AudioTextModel;
using DustInTheWind.Dot.Domain.GameModel;

namespace DustInTheWind.Dot.AdventureGame.LocationModel
{
Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.AdventureGame/LocationModel/LocationEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.AdventureGame.ObjectModel;
using DustInTheWind.Dot.Domain.GameModel;

namespace DustInTheWind.Dot.AdventureGame.LocationModel
{
Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.AdventureGame/ObjectModel/ContainerObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.Domain.GameModel;

namespace DustInTheWind.Dot.AdventureGame.ObjectModel
{
Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.AdventureGame/ObjectModel/IExportable.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.Domain.GameModel;

namespace DustInTheWind.Dot.AdventureGame.ObjectModel
{
Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.AdventureGame/ObjectModel/ObjectBase.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using System.Collections;
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.AdventureGame.LocationModel;
using DustInTheWind.Dot.Domain;
using DustInTheWind.Dot.Domain.AudioTextModel;
using DustInTheWind.Dot.Domain.GameModel;

namespace DustInTheWind.Dot.AdventureGame.ObjectModel
{
Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.Application/StorageDataExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

using System.Collections.Generic;
using System.Linq;
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.Domain.GameModel;
using DustInTheWind.Dot.Ports.GameSavesAccess;

namespace DustInTheWind.Dot.Application;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using DustInTheWind.Dot.Domain.DataAccess;
using DustInTheWind.Dot.Domain.GameModel;
using DustInTheWind.Dot.Ports.GameSavesAccess;
using DustInTheWind.Dot.Ports.PresentationAccess;

namespace DustInTheWind.Dot.Application.UseCases.LoadGame
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using DustInTheWind.Dot.Domain.DataAccess;
using DustInTheWind.Dot.Domain.GameModel;
using DustInTheWind.Dot.Ports.GameSavesAccess;
using DustInTheWind.Dot.Ports.PresentationAccess;

namespace DustInTheWind.Dot.Application.UseCases.SaveGame;

Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.Domain/GameModel/ExportData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

using System;

namespace DustInTheWind.Dot.AdventureGame.ExportModel;
namespace DustInTheWind.Dot.Domain.GameModel;

public class ExportData : ExportNode
{
Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.Domain/GameModel/ExportNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using System;
using System.Collections.Generic;

namespace DustInTheWind.Dot.AdventureGame.ExportModel;
namespace DustInTheWind.Dot.Domain.GameModel;

public class ExportNode : Dictionary<string, object>
{
Expand Down
1 change: 0 additions & 1 deletion sources/Dot.Domain/GameModel/IGame.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using DustInTheWind.Dot.AdventureGame.ExportModel;

namespace DustInTheWind.Dot.Domain.GameModel
{
Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.Ports.PresentationAccess/GameSlotId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

namespace DustInTheWind.Dot.Application.UseCases.LoadGame;
namespace DustInTheWind.Dot.Ports.PresentationAccess;

public class GameSlotId
{
Expand Down
4 changes: 1 addition & 3 deletions sources/Dot.Ports.PresentationAccess/ILoadGameView.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace DustInTheWind.Dot.Application.UseCases.LoadGame
namespace DustInTheWind.Dot.Ports.PresentationAccess
{
public interface ILoadGameView
{
Expand Down
4 changes: 1 addition & 3 deletions sources/Dot.Ports.PresentationAccess/ISaveGameView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

using DustInTheWind.Dot.Application.UseCases.LoadGame;

namespace DustInTheWind.Dot.Application.UseCases.SaveGame;
namespace DustInTheWind.Dot.Ports.PresentationAccess;

public interface ISaveGameView
{
Expand Down
1 change: 1 addition & 0 deletions sources/Dot.Presentation/Controls/LoadMenuControl.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using DustInTheWind.Dot.Application.UseCases.LoadGame;
using DustInTheWind.Dot.Ports.PresentationAccess;
using DustInTheWind.Dot.Presentation.ConsoleHelpers.UIControls;

namespace DustInTheWind.Dot.Presentation.Controls
Expand Down
1 change: 1 addition & 0 deletions sources/Dot.Presentation/Controls/SaveMenuControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using System;
using System.Collections.Generic;
using DustInTheWind.Dot.Application.UseCases.LoadGame;
using DustInTheWind.Dot.Ports.PresentationAccess;
using DustInTheWind.Dot.Presentation.ConsoleHelpers.UIControls;

namespace DustInTheWind.Dot.Presentation.Controls;
Expand Down
3 changes: 2 additions & 1 deletion sources/Dot.Presentation/GameHostActions/ExitAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
using System.Linq;
using System.Text.RegularExpressions;
using DustInTheWind.Dot.AdventureGame.ActionModel;
using DustInTheWind.Dot.Application;
using DustInTheWind.Dot.Application.UseCases.Exit;

namespace DustInTheWind.Dot.Application.GameHostActions;
namespace DustInTheWind.Dot.Presentation.GameHostActions;

public class ExitAction : ActionBase
{
Expand Down
3 changes: 2 additions & 1 deletion sources/Dot.Presentation/GameHostActions/LoadGameAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
using System.Linq;
using System.Text.RegularExpressions;
using DustInTheWind.Dot.AdventureGame.ActionModel;
using DustInTheWind.Dot.Application;
using DustInTheWind.Dot.Application.UseCases.LoadGame;

namespace DustInTheWind.Dot.Application.GameHostActions;
namespace DustInTheWind.Dot.Presentation.GameHostActions;

public class LoadGameAction : ActionBase
{
Expand Down
3 changes: 2 additions & 1 deletion sources/Dot.Presentation/GameHostActions/MainMenuAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
using System.Linq;
using System.Text.RegularExpressions;
using DustInTheWind.Dot.AdventureGame.ActionModel;
using DustInTheWind.Dot.Application;
using DustInTheWind.Dot.Application.UseCases.MainMenu;

namespace DustInTheWind.Dot.Application.GameHostActions;
namespace DustInTheWind.Dot.Presentation.GameHostActions;

public class MainMenuAction : ActionBase
{
Expand Down
3 changes: 2 additions & 1 deletion sources/Dot.Presentation/GameHostActions/NewGameAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
using System.Linq;
using System.Text.RegularExpressions;
using DustInTheWind.Dot.AdventureGame.ActionModel;
using DustInTheWind.Dot.Application;
using DustInTheWind.Dot.Application.UseCases.NewGame;

namespace DustInTheWind.Dot.Application.GameHostActions;
namespace DustInTheWind.Dot.Presentation.GameHostActions;

public class NewGameAction : ActionBase
{
Expand Down
3 changes: 2 additions & 1 deletion sources/Dot.Presentation/GameHostActions/SaveGameAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
using System.Linq;
using System.Text.RegularExpressions;
using DustInTheWind.Dot.AdventureGame.ActionModel;
using DustInTheWind.Dot.Application;
using DustInTheWind.Dot.Application.UseCases.SaveGame;

namespace DustInTheWind.Dot.Application.GameHostActions;
namespace DustInTheWind.Dot.Presentation.GameHostActions;

public class SaveGameAction : ActionBase
{
Expand Down
2 changes: 1 addition & 1 deletion sources/Dot.Presentation/Presenters/GamePresenter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
using DustInTheWind.Dot.AdventureGame.ActionResults;
using DustInTheWind.Dot.AdventureGame.GameModel;
using DustInTheWind.Dot.Application;
using DustInTheWind.Dot.Application.GameHostActions;
using DustInTheWind.Dot.Domain;
using DustInTheWind.Dot.Domain.AudioTextModel;
using DustInTheWind.Dot.Domain.DataAccess;
using DustInTheWind.Dot.Domain.GameModel;
using DustInTheWind.Dot.Presentation.GameHostActions;
using DustInTheWind.Dot.Presentation.Views;

namespace DustInTheWind.Dot.Presentation.Presenters
Expand Down
1 change: 1 addition & 0 deletions sources/Dot.Presentation/Views/LoadGameView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
using System.Collections.Generic;
using DustInTheWind.Dot.Application.UseCases.LoadGame;
using DustInTheWind.Dot.AudioSupport;
using DustInTheWind.Dot.Ports.PresentationAccess;
using DustInTheWind.Dot.Presentation.ConsoleHelpers.ConsoleUtil;
using DustInTheWind.Dot.Presentation.ConsoleHelpers.UIControls;
using DustInTheWind.Dot.Presentation.Controls;
Expand Down
1 change: 1 addition & 0 deletions sources/Dot.Presentation/Views/SaveGameView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using DustInTheWind.Dot.Application.UseCases.LoadGame;
using DustInTheWind.Dot.Application.UseCases.SaveGame;
using DustInTheWind.Dot.AudioSupport;
using DustInTheWind.Dot.Ports.PresentationAccess;
using DustInTheWind.Dot.Presentation.ConsoleHelpers.ConsoleUtil;
using DustInTheWind.Dot.Presentation.ConsoleHelpers.UIControls;
using DustInTheWind.Dot.Presentation.Controls;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Linq;
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.Domain.GameModel;
using DustInTheWind.Dot.Ports.GameSavesAccess;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.AdventureGame.GameModel;
using DustInTheWind.Dot.AdventureGame.LocationModel;
using DustInTheWind.Dot.Domain.GameModel;
using DustInTheWind.Dot.Ports.GameSavesAccess;

namespace Dot.Tests.AdventureGame.LocationModel.LocationBaseTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Linq;
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.AdventureGame.ObjectModel;
using DustInTheWind.Dot.Domain.GameModel;
using DustInTheWind.Dot.Ports.GameSavesAccess;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DustInTheWind.Dot.AdventureGame.ExportModel;
using DustInTheWind.Dot.Domain.GameModel;
using DustInTheWind.Dot.Ports.GameSavesAccess;
using Xunit;

Expand Down

0 comments on commit b4d0865

Please sign in to comment.