Move block engines into their own namespace

This commit is contained in:
Norbi Peti 2021-05-20 23:37:10 +02:00
parent b3f7dcd36d
commit 1cbe252727
No known key found for this signature in database
GPG key ID: DBA4C4549A927E56
14 changed files with 29 additions and 36 deletions

View file

@ -11,6 +11,7 @@ using Unity.Mathematics;
using Gamecraft.Blocks.GUI;
using TechbloxModdingAPI.Blocks;
using TechbloxModdingAPI.Blocks.Engines;
using TechbloxModdingAPI.Tests;
using TechbloxModdingAPI.Utility;

View file

@ -6,7 +6,9 @@ using Gamecraft.Blocks.BlockGroups;
using Svelto.ECS;
using Unity.Mathematics;
using UnityEngine;
using TechbloxModdingAPI.Blocks;
using TechbloxModdingAPI.Blocks.Engines;
using TechbloxModdingAPI.Utility;
namespace TechbloxModdingAPI

View file

@ -6,12 +6,11 @@ using HarmonyLib;
using RobocraftX.Blocks;
using RobocraftX.Character;
using RobocraftX.Common;
using RobocraftX.Common.Players;
using Svelto.DataStructures;
using Svelto.ECS;
using TechbloxModdingAPI.Engines;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
public class BlockCloneEngine : IApiEngine
{

View file

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
@ -10,16 +9,16 @@ using RobocraftX.Common;
using RobocraftX.Physics;
using RobocraftX.Rendering;
using RobocraftX.Rendering.GPUI;
using Svelto.ECS.EntityStructs;
using Svelto.DataStructures;
using Svelto.ECS;
using Svelto.ECS.EntityStructs;
using Svelto.ECS.Hybrid;
using Unity.Mathematics;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
/// <summary>
/// Engine for executing general block actions

View file

@ -1,12 +1,12 @@
using System;
using RobocraftX.Common;
using Svelto.ECS;
using RobocraftX.Blocks;
using Svelto.ECS;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
public class BlockEventsEngine : IReactionaryEngine<BlockTagEntityStruct>
{

View file

@ -20,7 +20,7 @@ using Unity.Mathematics;
using UnityEngine;
using Allocator = Svelto.Common.Allocator;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
public class BlueprintEngine : IFactoryEngine
{

View file

@ -1,14 +1,4 @@
using System;
using System.Collections.Generic;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Persistence;
using TechbloxModdingAPI.Utility;
using RobocraftX.Common;
using Svelto.ECS;
using Svelto.ECS.Experimental;
using Svelto.ECS.Serialization;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
/*public class CustomBlockEngine : IFactoryEngine
{

View file

@ -2,12 +2,13 @@
using RobocraftX.UECS;
using Svelto.ECS;
using Svelto.ECS.EntityStructs;
using Unity.Transforms;
using Unity.Mathematics;
using Unity.Transforms;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
/// <summary>
/// Engine which executes block movement actions

View file

@ -1,4 +1,3 @@
using System;
using System.Reflection;
using DataLoader;
@ -6,21 +5,18 @@ using Gamecraft.Blocks.BlockGroups;
using Gamecraft.Wires;
using HarmonyLib;
using RobocraftX.Blocks;
using RobocraftX.Blocks.Scaling;
using RobocraftX.Character;
using RobocraftX.Common;
using RobocraftX.CR.MachineEditing;
using RobocraftX.Rendering;
using RobocraftX.Rendering.GPUI;
using Svelto.ECS;
using Svelto.ECS.EntityStructs;
using Unity.Mathematics;
using UnityEngine;
using TechbloxModdingAPI.Players;
using RobocraftX.Rendering.GPUI;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
/// <summary>
/// Engine which executes block placement actions

View file

@ -4,10 +4,11 @@ using HarmonyLib;
using RobocraftX.Blocks;
using RobocraftX.Common;
using Svelto.ECS;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
public class RemovalEngine : IApiEngine
{

View file

@ -4,10 +4,11 @@ using Svelto.ECS;
using Svelto.ECS.EntityStructs;
using Unity.Mathematics;
using UnityEngine;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
/// <summary>
/// Engine which executes block movement actions

View file

@ -5,10 +5,11 @@ using RobocraftX.Common;
using RobocraftX.UECS;
using Svelto.ECS;
using Unity.Entities;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
public class ScalingEngine : IApiEngine
{

View file

@ -1,11 +1,13 @@
using System;
using Svelto.ECS;
using Svelto.DataStructures;
using Gamecraft.Wires;
using Svelto.DataStructures;
using Svelto.ECS;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace TechbloxModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks.Engines
{
/// <summary>
/// Engine which executes signal actions

View file

@ -4,7 +4,7 @@ using Gamecraft.Wires;
using Svelto.ECS;
using Svelto.ECS.Experimental;
using TechbloxModdingAPI.Utility;
using TechbloxModdingAPI.Blocks.Engines;
namespace TechbloxModdingAPI.Blocks
{