Click or drag to resize
DigitalRuneGameObjectUpdate Method
Updates this game object.

Namespace: DigitalRune.Game
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
public void Update(
	TimeSpan deltaTime
)

Parameters

deltaTime
Type: SystemTimeSpan
The elapsed time since the last frame.
Remarks

Normally, this method is called by the IGameObjectService each frame. It can be called manually, for example, in OnUpdate(TimeSpan) to make sure that another game object is updated before this game object. - But in general it is not required to call this method.

It is safe to call this method multiple times. It will only be executed once per time step.

OnUpdate(TimeSpan) will be called automatically in this method.

See Also