Package com.sirenian.hellbound.events

Examples of com.sirenian.hellbound.events.ThePlayerPressesTheLeftKey


        given(new TheFirstGlyphIsDisplayedOnTheBoard());
       
        // T-shape to the left
        when(new ThePlayerPressesRightRotate());
        when(new ThePlayerPressesRightRotate());
        when(new ThePlayerPressesTheLeftKey());
        when(new ThePlayerPressesTheLeftKey());
        when(new ThePlayerPressesTheDropKey());       
        when(new TimePasses());
       
        // Z-shape next to it
        when(new ThePlayerPressesTheDropKey());
View Full Code Here


public class TheGlyphWillNotMoveLeft extends HellboundScenario {

    protected void specifySteps() {
        given(new TheGlyphIsAgainstTheLeftWall());
        when(new ThePlayerPressesTheLeftKey());
        then(new TheGlyphShouldBeAgainstTheLeftWall());
    }
View Full Code Here

public class TheGlyphIsAgainstTheLeftWall extends HellboundScenario {

    protected void specifySteps() {
        given(new TheFirstGlyphIsDisplayedOnTheBoard());
        when(new ThePlayerPressesTheLeftKey());
        when(new ThePlayerPressesTheLeftKey());
        then(new TheGlyphShouldBeAgainstTheLeftWall()); // sanity check
    }
View Full Code Here

    public void specifySteps() {
        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.ThePlayerPressesTheLeftKey

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.