Package com.sirenian.hellbound.scenarios

Source Code of com.sirenian.hellbound.scenarios.ThePlayerRotatesTheGlyphRight

package com.sirenian.hellbound.scenarios;

import com.sirenian.hellbound.events.ThePlayerPressesRightRotate;
import com.sirenian.hellbound.outcomes.TheGlyphShouldBeCentredAtTheTopOfThePit;
import com.sirenian.hellbound.outcomes.TheGlyphShouldTurnToOneQuarter;
import com.sirenian.hellbound.outcomes.TheGlyphTurnsToThreeQuarters;
import com.sirenian.hellbound.outcomes.TheGlyphTurnsToTwoQuarters;

public class ThePlayerRotatesTheGlyphRight extends HellboundScenario {

    public void specifySteps() {
        given(new TheFirstGlyphIsDisplayedOnTheBoard());
        when(new ThePlayerPressesRightRotate());
        then(new TheGlyphTurnsToThreeQuarters());
        when(new ThePlayerPressesRightRotate());
        then(new TheGlyphTurnsToTwoQuarters());
        when(new ThePlayerPressesRightRotate());
        then(new TheGlyphShouldTurnToOneQuarter());
        when(new ThePlayerPressesRightRotate());
        then(new TheGlyphShouldBeCentredAtTheTopOfThePit());
    }
}
TOP

Related Classes of com.sirenian.hellbound.scenarios.ThePlayerRotatesTheGlyphRight

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.