Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static float getBackgroundXposStarting(){
- switch (StageHandler.getCurrentLevelSelected()) {
- case StageHandler.LEVEL_TRAIN:
- return GFX.getDeviceViewport().getX()+GFX.getDeviceViewport().getWidth(); //places off screen right to move into shot
- //more statements
- default:
- //shits fucked yo!
- break;
- }
- if(StageHandler.getCurrentLevelSelected() == StageHandler.LEVEL_TRAIN){
- return GFX.getDeviceViewport().getX()+GFX.getDeviceViewport().getWidth(); //places off screen right to move into shot
- //some if else
- }else{
- //shits fucked yo!
- return 1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement