enum Eagle::Node::ProcessMode

Overview

Whether a node keeps processing while the tree is paused.

Defined in:

eagle/core/node.cr

Enum Members

Inherit = 0

Do what the parent does. At the root this means "pause with the tree".

Always = 1

Keep processing while paused. Use it for pause menus.

Pausable = 2

Stop processing while paused.

WhenPaused = 3

Process only while paused.

Disabled = 4

Never process. The node still draws.

Instance Method Summary

Instance Method Detail

def always? #

Returns true if this enum value equals Always


def disabled? #

Returns true if this enum value equals Disabled


def inherit? #

Returns true if this enum value equals Inherit


def pausable? #

Returns true if this enum value equals Pausable


def when_paused? #

Returns true if this enum value equals WhenPaused