Returns a value for the given time. Producing this value may require interpolation or extrapolation.

Namespace:  Equis.JanusToolkit
Assembly:  Janus (in Janus.dll)

Syntax

C#
public ValueType Get(
	int t
)

Parameters

t
Type: System..::..Int32
the time

Return Value

A time line value

Remarks

It is good practice to call this the Ready method before using the Get method to ensure that Get will not return an error.

Examples

 Copy imageCopy Code
            protected override void Draw(GameTime gameTime)
            {
                if (playerPosition[other].Ready())
                {
                    TankStatus otherShip = playerPosition[other].Get(-REMOTE_LAG);
                }
            }
            

See Also