Share via


GameTimerEventArgs Constructor (TimeSpan, TimeSpan)

Constructs an instance of GameTimerEventArgs using the totalTime and elapsedTime values.

Syntax

'Declaration
Public Sub New ( _
         totalTime As TimeSpan, _
         elapsedTime As TimeSpan _
)
public GameTimerEventArgs (
         TimeSpan totalTime,
         TimeSpan elapsedTime
)
public:
GameTimerEventArgs(
         TimeSpan totalTime,
         TimeSpan elapsedTime
)

Parameters

  • totalTime
    Type: TimeSpan
    Total time since the start of the game.
  • elapsedTime
    Type: TimeSpan
    Time since the last update.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

GameTimerEventArgs Class
GameTimerEventArgs Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone