token ring stuff wip

This commit is contained in:
minjaesong
2025-03-01 23:03:56 +09:00
parent f154b2348b
commit f74b7218b0
4 changed files with 192 additions and 8 deletions

View File

@@ -98,6 +98,7 @@ open class Electric : FixtureBase {
/** Triggered when 'digital_bit' is held low. This function WILL NOT be triggered simultaneously with the falling edge. Level detection only considers the real component (labeled as 'x') of the vector */
//open fun onSignalLow(readFrom: BlockBoxIndex) {}
// called right after `onRisingEdge` and `onFallingEdge` in the `updateImpl`
open fun updateSignal() {}
fun getWireStateAt(offsetX: Int, offsetY: Int, sinkType: WireEmissionType): Vector2 {