enum Glint::GameObject::UpdateMode

Overview

Determines if and how a game object is updated.

Defined in:

glint/game_object/game_object.cr

Enum Members

Inherit = 0

Inherits the UpdateMode of the parent game object.

Pausable = 1

Updates the game object (and its children) only when the Game is not paused.

WhenPaused = 2

Updates the game object (and its children) only when the Game is paused.

Always = 3

Always updates the game object (and its children).

Disabled = 4

Prevents the game object (and its children) from being updated.

Instance Method Summary

Instance Method Detail

def always? #

[View source]
def disabled? #

[View source]
def inherit? #

[View source]
def pausable? #

[View source]
def when_paused? #

[View source]