Actor MaxVelocityX Property Delta Engine Documentation

Namespace: TinyPlatformer
Assembly: TinyPlatformer (in TinyPlatformer.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public float MaxVelocityX { get; set; }

Property Value

Type: Single
Remarks

Tests: TinyPlatformer.Tests.ActorTests
Examples

1 unit tests call TinyPlatformer.Actor.MaxVelocityX
[Test, CloseAfterFirstFrame]
public void CheckMaxVelocityX()
{
    Assert.AreEqual(10 * Map.Meter, monster.MaxVelocityX);
    Assert.AreEqual(15 * Map.Meter, player.MaxVelocityX);
}
See Also