Class BlockManager Extends VersionedMonoBehaviour

Public

Manager for blocker scripts such as SingleNodeBlocker.

This is part of the turn based utilities. It can be used for any game, but it is primarily intended for turn based games.

Inner Types

Blocks nodes according to a BlockManager.

Public Methods

InternalBlock (node, blocker)

Register blocker as being present at the specified node.

Public
InternalUnblock (node, blocker)

Remove blocker from the specified node.

Public
NodeContainsAnyExcept (node, selector)

True if the node contains any blocker which is not included in the selector list.

Public
NodeContainsAnyOf (node, selector)

True if the node contains any blocker which is included in the selector list.

Public

Public Enums

BlockMode
Public

Private/Protected Members

Awake ()
Protected
OnUpgradeSerializedData (migrations, unityThread)

Handle serialization backwards compatibility.

Protected
Reset ()

Handle serialization backwards compatibility.

Protected
Start ()
Private
UpgradeSerializedData (isUnityThread)
Protected
blocked

Contains info on which SingleNodeBlocker objects have blocked a particular node.

Private