Show / Hide Table of Contents

Class NextRamp

Add this attribute to ramps, so when it's placed in line, it will auto choose next block form. Sample -> Asphalt ramp 1 -> Asphalt ramp 2 -> Asphalt ramp 3 -> Asphalt ramp 4 -> Asphalt ramp 1. Usually you want to add 1 offset at the end of loop: Asphalt ramp 4->1 YOffset = 1

Inheritance
System.Object
BlockAttribute
NextRamp
Inherited Members
BlockAttribute.Unset
Namespace: Eco.World.Blocks
Assembly: Eco.World.dll
Syntax
public sealed class NextRamp : BlockAttribute

Constructors

NextRamp(Type, Int32)

Declaration
public NextRamp(Type nextRamp, int yOffset)
Parameters
Type Name Description
System.Type nextRamp
System.Int32 yOffset

Properties

Next

Next block to use

Declaration
public Type Next { get; }
Property Value
Type Description
System.Type

YOffset

How far away it should be displaced at y coordinate. Usually 0 for 1-4 ramps, and 1 at the end of cycle: 4 to 1.

Declaration
public int YOffset { get; }
Property Value
Type Description
System.Int32
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾