BinhlEmul.World.TickWire C# (CSharp) 메소드

TickWire() 공개 메소드

public TickWire ( ) : void
리턴 void
        public void TickWire()
        {
            NotFullTick = true;
            while (NotFullTick)
            {
                NotFullTick = false;
                for (int x = 0; x < WorldSizeX; x++)
                {
                    for (int y = 0; y < WorldSizeY; y++)
                    {
                        for (int z = 0; z < WorldSizeZ; z++)
                        {
                            if (_objectMatrix[x, y, z].GetType() == typeof(RedstoneWire))
                            {
                                _objectMatrix[x, y, z].Tick();
                            }
                        }
                    }
                }
            }
        }