Table of Contents

Class OutOfTownDoor

Namespace
TinyLife.World
Assembly
TinyLife.dll
public class OutOfTownDoor : AnimatedDoor
Inheritance
OutOfTownDoor
Inherited Members
Extension Methods

Constructors

OutOfTownDoor(OpeningType, int[], OutOfTownIntention)

public OutOfTownDoor(OpeningType type, int[] colors, OutOfTownIntention intention)

Parameters

type OpeningType
colors int[]
intention OutOfTownIntention

Fields

Intention

[DataMember]
public readonly OutOfTownIntention Intention

Field Value

OutOfTownIntention

Methods

CanWalkThrough(Map, WallLike, MapObject)

Returns whether a PersonLike is able to walk through a WallLike that has this opening. This returns true for WalkableOpening and LockableAnimatedDoor and false for Opening.

public override bool CanWalkThrough(Map map, WallLike wall, MapObject obj)

Parameters

map Map
wall WallLike
obj MapObject

Returns

bool