Changed Namespaces, Move files
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
namespace ChickenGameTest;
|
||||
namespace FoodFactory.Voxel;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
using Arch.Core;
|
||||
using Arch.Core.Extensions;
|
||||
using Arch.LowLevel;
|
||||
using Arch.System;
|
||||
using Chickensoft.AutoInject;
|
||||
using Chickensoft.Introspection;
|
||||
using FoodFactory;
|
||||
using FoodFactory.Conveyors;
|
||||
using FoodFactory.Math;
|
||||
using FoodFactory.Recipes;
|
||||
using Godot;
|
||||
public class BacterialSystem : BaseSystem<World, float>
|
||||
@@ -23,7 +23,7 @@ public class BacterialSystem : BaseSystem<World, float>
|
||||
public override void Update(in float t)
|
||||
{
|
||||
var delta = t;
|
||||
World.ParallelQuery(in _desc, (Entity entity, ref Bacteria bacteria, ref Temperature temperature) =>
|
||||
World.Query(in _desc, (Entity entity, ref Bacteria bacteria, ref Temperature temperature) =>
|
||||
{
|
||||
var handle = bacteria.Data;
|
||||
var data = Resources.Get(in handle);
|
||||
@@ -94,7 +94,7 @@ public partial class VoxelGridNode : Node3D, IProvide<IVoxelGridRegistry>, IProv
|
||||
{
|
||||
if (item is ConveyorBeltStraight conveyor)
|
||||
{
|
||||
var node = conveyor.GetNode("Node") as TestItemConveyor;
|
||||
var node = conveyor.ConveyorLogic;
|
||||
node.IsReversed = !node.IsReversed;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user