move to new git server
This commit is contained in:
@@ -1,13 +1,14 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Godot.NET.Sdk/4.4.0-beta.1">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||||
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>disable</Nullable>
|
<Nullable>disable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="GodotSharp" Version="4.4.0-dev.2" />
|
<PackageReference Include="GodotSharp" Version="4.4.0-beta.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using Godot;
|
using Godot;
|
||||||
|
|
||||||
namespace Nocturnis.Hermeteus.BracketSystem;
|
namespace Nocturnis.BracketSystem;
|
||||||
|
|
||||||
public static class EInstructionArrowEnd
|
public static class EInstructionArrowEnd
|
||||||
{
|
{
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using Godot;
|
using Godot;
|
||||||
|
|
||||||
namespace Nocturnis.Hermeteus.BracketSystem;
|
namespace Nocturnis.BracketSystem;
|
||||||
|
|
||||||
public static class EInstructionArrowStart
|
public static class EInstructionArrowStart
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace Nocturnis.Hermeteus.BracketSystem;
|
namespace Nocturnis.BracketSystem;
|
||||||
|
|
||||||
public interface IBracketLine
|
public interface IBracketLine
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace Nocturnis.Hermeteus.BracketSystem;
|
namespace Nocturnis.BracketSystem;
|
||||||
|
|
||||||
public interface IBracketTopic
|
public interface IBracketTopic
|
||||||
{
|
{
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
using Godot;
|
|
||||||
using Nocturnis.Godot;
|
using Nocturnis.Godot;
|
||||||
using Nocturnis.UIElements.Layers;
|
using Nocturnis.UIElements.Layers;
|
||||||
|
|
||||||
namespace Nocturnis.Hermeteus.BracketSystem;
|
namespace Nocturnis.BracketSystem;
|
||||||
|
|
||||||
public interface IInstructionAgent : INode
|
public interface IInstructionAgent : INode
|
||||||
{
|
{
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using Godot;
|
using Godot;
|
||||||
|
|
||||||
namespace Nocturnis.Hermeteus.BracketSystem;
|
namespace Nocturnis.BracketSystem;
|
||||||
|
|
||||||
public interface IInstructionArrowEnd
|
public interface IInstructionArrowEnd
|
||||||
{
|
{
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using Nocturnis.UIElements.Layers;
|
using Nocturnis.UIElements.Layers;
|
||||||
|
|
||||||
namespace Nocturnis.Hermeteus.BracketSystem;
|
namespace Nocturnis.BracketSystem;
|
||||||
|
|
||||||
public interface IInstructionArrowManager : IInstructionArrowStart
|
public interface IInstructionArrowManager : IInstructionArrowStart
|
||||||
{
|
{
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using Godot;
|
using Godot;
|
||||||
|
|
||||||
namespace Nocturnis.Hermeteus.BracketSystem;
|
namespace Nocturnis.BracketSystem;
|
||||||
|
|
||||||
public interface IInstructionArrowStart
|
public interface IInstructionArrowStart
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace Nocturnis.Hermeteus.BracketSystem.Processors;
|
namespace Nocturnis.BracketSystem.Processors;
|
||||||
|
|
||||||
public interface IBracketProcessor
|
public interface IBracketProcessor
|
||||||
{
|
{
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using Godot;
|
using Godot;
|
||||||
|
|
||||||
namespace Alchegos.DataStructure;
|
namespace Nocturnis.DataStructures;
|
||||||
|
|
||||||
public partial class VariantWithType : Resource
|
public partial class VariantWithType : Resource
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using Godot;
|
using Godot;
|
||||||
|
using Nocturnis.DataStructures.States;
|
||||||
using Nocturnis.Enigmos.Modules;
|
using Nocturnis.Enigmos.Modules;
|
||||||
using Nocturnis.GlobalManagement.Providers;
|
using Nocturnis.GlobalManagement.Providers;
|
||||||
|
|
||||||
@@ -8,6 +9,9 @@ public class EnigmosControl
|
|||||||
{
|
{
|
||||||
private static EnigmosControl _instance { get; set; }
|
private static EnigmosControl _instance { get; set; }
|
||||||
private static object _lock = new();
|
private static object _lock = new();
|
||||||
|
public const string StateOff = "Off";
|
||||||
|
public const string StateOn = "On";
|
||||||
|
public const string StateEngine = "Engine";
|
||||||
public static EnigmosControl Instance
|
public static EnigmosControl Instance
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -19,15 +23,20 @@ public class EnigmosControl
|
|||||||
|
|
||||||
private EnigmosControl()
|
private EnigmosControl()
|
||||||
{
|
{
|
||||||
|
StateControl.Instance.AddRule(
|
||||||
|
(path, fromState, toState) =>
|
||||||
|
path.Equals(StateEngine) && (
|
||||||
|
toState.Equals(StateOff) || toState.Equals(StateOn)
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IRootModule RootModule { get; set; }
|
public IRootModule RootModule { get; set; }
|
||||||
|
|
||||||
public void ShutDownEngine()
|
public void ShutDownEngine()
|
||||||
{
|
{
|
||||||
((GlobalProvider.SceneProvider.RootScene.EngineSwitch as TextureButton)!).TextureNormal =
|
((GlobalProvider.SceneProvider.RootScene.EngineSwitch as TextureButton)!).TextureNormal =
|
||||||
GlobalProvider.TextureProvider.EngineSwitchOff;
|
GlobalProvider.TextureProvider.EngineSwitchOff;
|
||||||
EngineUp = false;
|
EngineUp = false;
|
||||||
|
StateControl.Instance[StateEngine] = StateOff;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PowerUpEngine()
|
public void PowerUpEngine()
|
||||||
@@ -36,6 +45,7 @@ public class EnigmosControl
|
|||||||
(GlobalProvider.SceneProvider.RootScene.EngineSwitch as TextureButton)!.TextureNormal =
|
(GlobalProvider.SceneProvider.RootScene.EngineSwitch as TextureButton)!.TextureNormal =
|
||||||
GlobalProvider.TextureProvider.EngineSwitchOn;
|
GlobalProvider.TextureProvider.EngineSwitchOn;
|
||||||
EngineUp = true;
|
EngineUp = true;
|
||||||
|
StateControl.Instance[StateEngine] = StateOn;
|
||||||
}
|
}
|
||||||
|
|
||||||
public double Energy { get; set; } = 1d;
|
public double Energy { get; set; } = 1d;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
|
using Nocturnis.BracketSystem;
|
||||||
using Nocturnis.GlobalManagement.Providers;
|
using Nocturnis.GlobalManagement.Providers;
|
||||||
using Nocturnis.Hermeteus.BracketSystem;
|
|
||||||
|
|
||||||
namespace Nocturnis.GlobalManagement.Controls;
|
namespace Nocturnis.GlobalManagement.Controls;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using Nocturnis.Hermeteus.BracketSystem;
|
using Nocturnis.BracketSystem;
|
||||||
|
|
||||||
namespace Nocturnis.GlobalManagement.Providers;
|
namespace Nocturnis.GlobalManagement.Providers;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
using Godot;
|
using Godot;
|
||||||
using Nocturnis.Hermeteus.BracketSystem;
|
using Nocturnis.BracketSystem;
|
||||||
|
|
||||||
namespace Nocturnis.GlobalManagement.Providers;
|
namespace Nocturnis.GlobalManagement.Providers;
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
using Godot;
|
|
||||||
|
|
||||||
namespace Nocturnis.Hermeteus.QuerySystem;
|
|
||||||
|
|
||||||
public interface IQueryEngine
|
|
||||||
{
|
|
||||||
bool Check(string query);
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
using Godot;
|
using Godot;
|
||||||
using Nocturnis.Godot;
|
using Nocturnis.Godot;
|
||||||
using Nocturnis.Hermeteus;
|
|
||||||
using Nocturnis.UIElements;
|
using Nocturnis.UIElements;
|
||||||
using Nocturnis.UIElements.Layers;
|
using Nocturnis.UIElements.Layers;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
using Nocturnis.BracketSystem;
|
||||||
using Nocturnis.Godot;
|
using Nocturnis.Godot;
|
||||||
using Nocturnis.Hermeteus.BracketSystem;
|
|
||||||
|
|
||||||
namespace Nocturnis.UIElements;
|
namespace Nocturnis.UIElements;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
using Nocturnis.BracketSystem;
|
||||||
using Nocturnis.Godot;
|
using Nocturnis.Godot;
|
||||||
using Nocturnis.Hermeteus.BracketSystem;
|
|
||||||
|
|
||||||
namespace Nocturnis.UIElements;
|
namespace Nocturnis.UIElements;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
using Nocturnis.BracketSystem;
|
||||||
|
using Nocturnis.BracketSystem.Processors;
|
||||||
using Nocturnis.Godot;
|
using Nocturnis.Godot;
|
||||||
using Nocturnis.Hermeteus;
|
|
||||||
using Nocturnis.Hermeteus.BracketSystem;
|
|
||||||
using Nocturnis.Hermeteus.BracketSystem.Processors;
|
|
||||||
|
|
||||||
namespace Nocturnis.UIElements.Layers;
|
namespace Nocturnis.UIElements.Layers;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user