Package com.sirenian.hellbound.events

Examples of com.sirenian.hellbound.events.ThePlayerPressesTheDownKey


public class TheGlyphWillNotMoveDown extends HellboundScenario {

    protected void specifySteps() {
        given(new TheFirstGlyphIsDisplayedOnTheBoard());
        when(new ThePlayerPressesTheDropKey());
        when(new ThePlayerPressesTheDownKey());
        then(new TheGlyphShouldBecomeJunkAndTheNextGlyphShouldAppear(
                "..ZZ..." + NL +
                "...ZZ.." + NL +
                "......." + NL +
                "......." + NL +
View Full Code Here


        given(new TheFirstGlyphIsDisplayedOnTheBoard());
        when(new ThePlayerPressesTheRightKey());
        then(new TheGlyphShouldMoveRight());
        when(new ThePlayerPressesTheLeftKey());
        then(new TheGlyphShouldBeCentredAtTheTopOfThePit());
        when(new ThePlayerPressesTheDownKey());
        then(new TheGlyphShouldMoveDownwards());
        then(new TheHeartbeatShouldBeSkipped());
    }
View Full Code Here

TOP

Related Classes of com.sirenian.hellbound.events.ThePlayerPressesTheDownKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.