@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace RedCircuit.Simulation
|
||||
{
|
||||
/// <summary>元件行为基类,定义元件接收信号后的规则接口。</summary>
|
||||
public abstract class ComponentBehavior : MonoBehaviour
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "RedCircuit.Simulation",
|
||||
"rootNamespace": "RedCircuit.Simulation",
|
||||
"references": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": []
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace RedCircuit.Simulation
|
||||
{
|
||||
/// <summary>信号传播器,基于优先级队列 BFS 实现红石信号强度衰减传播。</summary>
|
||||
public class SignalPropagator : MonoBehaviour
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace RedCircuit.Simulation
|
||||
{
|
||||
/// <summary>仿真主循环,每 Tick 执行信号收集、BFS 传播、元件规则、延迟处理、输出更新。</summary>
|
||||
public class SimulationLoop : MonoBehaviour
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user