Table of Contents

Class TimbnNpcBlock

Namespace
Timbn.GraveyardKeeperTwo.Core.Framework
Assembly
Timbn.GraveyardKeeperTwo.Core.dll

One block of a TimbnNpcDay.

public sealed class TimbnNpcBlock
Inheritance
TimbnNpcBlock
Inherited Members

Methods

Intro(Func<TimbnNpcSteps, TimbnNpcSteps>)

The steps run once when the block starts on time.

public TimbnNpcBlock Intro(Func<TimbnNpcSteps, TimbnNpcSteps> build)

Parameters

build Func<TimbnNpcSteps, TimbnNpcSteps>

Returns

TimbnNpcBlock

LateIntro(Func<TimbnNpcSteps, TimbnNpcSteps>)

The steps run in place of the intro when the block is joined late, usually putting the person where the block expects them.

public TimbnNpcBlock LateIntro(Func<TimbnNpcSteps, TimbnNpcSteps> build)

Parameters

build Func<TimbnNpcSteps, TimbnNpcSteps>

Returns

TimbnNpcBlock

Loop(Func<TimbnNpcSteps, TimbnNpcSteps>)

The steps repeated until the next block starts.

public TimbnNpcBlock Loop(Func<TimbnNpcSteps, TimbnNpcSteps> build)

Parameters

build Func<TimbnNpcSteps, TimbnNpcSteps>

Returns

TimbnNpcBlock

Origin(string)

The point the person is put back at during this block when a walk along the paths finds no route, such as a vendor's stall, and the walk is tried once more from there. Without it the walk is skipped.

public TimbnNpcBlock Origin(string pointId)

Parameters

pointId string

Returns

TimbnNpcBlock