Package com.sirenian.hellbound.events

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


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

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

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.