SceneTests DrawButtonWhichChangesColorAndSize Method Delta Engine Documentation

Namespace: DeltaEngine.Scenes.Tests
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void DrawButtonWhichChangesColorAndSize()
Examples

[Test]
public void DrawButtonWhichChangesColorAndSize()
{
    if (!IsMockResolver)
        return; //ncrunch: no coverage 
    var button = CreateButton();
    button.Start<ChangeSizeDynamically>();
    scene.Add(button);
    AdvanceTimeAndUpdateEntities();
    button.State.IsPressed = true;
}
See Also