Examples of ThePlayerPressesLeftRotate


Examples of com.sirenian.hellbound.events.ThePlayerPressesLeftRotate

        when(new ThePlayerPressesTheDropKey());
        when(new TimePasses());
       
        // S-shape on the Z-shape
        when(new ThePlayerPressesTheRightKey());
        when(new ThePlayerPressesLeftRotate());
        when(new ThePlayerPressesTheDropKey());
        when(new TimePasses());
       
        // J-shape ready to be dropped in hole
        when(new ThePlayerPressesTheRightKey());
View Full Code Here

Examples of com.sirenian.hellbound.events.ThePlayerPressesLeftRotate

public class ThePlayerRotatesTheGlyphLeft extends HellboundScenario {

    public void specifySteps() {
        given(new TheFirstGlyphIsDisplayedOnTheBoard());
       
        when(new ThePlayerPressesLeftRotate());
        then(new TheGlyphShouldTurnToOneQuarter());
       
        when(new ThePlayerPressesLeftRotate());
        then(new TheGlyphTurnsToTwoQuarters());
       
        when(new ThePlayerPressesLeftRotate());
        then(new TheGlyphTurnsToThreeQuarters());
       
        when(new ThePlayerPressesLeftRotate());
        then(new TheGlyphShouldBeCentredAtTheTopOfThePit());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.