public IsNotOnGroundWhenOnlyEntity ( ) : void | ||
Résultat | void |
public void IsNotOnGroundWhenOnlyEntity()
{
var kernel = new StandardKernel();
kernel.Load<ProtogameCoreModule>();
kernel.Load<ProtogamePlatformingIoCModule>();
var platforming = kernel.Get<IPlatforming>();
var entity = this.CreateBoundingBox(200, 200, 16, 16);
_assert.False(platforming.IsOnGround(
entity,
new[] { entity },
x => true));
}