Table of Contents

Interface IUpdateable

Namespace
Stride.Games
Assembly
Stride.Games.dll

An interface that is called by Update(GameTime).

public interface IUpdateable

Properties

Enabled

Gets a value indicating whether the game component's Update method should be called by Update(GameTime).

bool Enabled { get; }

Property Value

bool

true if update is enabled; otherwise, false.

UpdateOrder

Gets the update order relative to other game components. Lower values are updated first.

int UpdateOrder { get; }

Property Value

int

The update order.

Methods

Update(GameTime)

This method is called when this game component is updated.

void Update(GameTime gameTime)

Parameters

gameTime GameTime

The current timing.

Events

EnabledChanged

Occurs when the Enabled property changes.

event EventHandler<EventArgs> EnabledChanged

Event Type

EventHandler<EventArgs>

UpdateOrderChanged

Occurs when the UpdateOrder property changes.

event EventHandler<EventArgs> UpdateOrderChanged

Event Type

EventHandler<EventArgs>