Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class PariPassuScreen{
- public void setChannelOne(String path) {
- channelonepath = path;
- channelone.initPlayer(channelonepath);
- }
- public void setChannelTwo(String path) {
- channeltwopath = path;
- channeltwo.initPlayer(channeltwopath);
- }
- public void toggleChannelOnePlay() {
- channelone.togglePlay();
- }
- public void toggleChannelTwoPlay() {
- channeltwo.togglePlay();
- }
- public boolean navigationClick(int i, int i0) {
- if (upfader.getActiveChannel() == UpfaderField.NONE) {
- upfader.setActiveChannel(UpfaderField.LEFT);
- return true;
- } else if (upfader.getActiveChannel() == UpfaderField.LEFT) {
- upfader.setActiveChannel(UpfaderField.RIGHT);
- return true;
- } else if (upfader.getActiveChannel() == UpfaderField.RIGHT) {
- upfader.setActiveChannel(UpfaderField.LEFT);
- return true;
- }
- return false;
- }
- }
Add Comment
Please, Sign In to add comment