Mercurial > jmeCapture
view src/com/aurellem/capture/AurellemSystemDelegate.java @ 62:f5e52169f056
updated to work with new jme changes
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 14 Dec 2011 17:43:52 -0700 |
parents | 121b6d7e4d3f |
children | 155c70b7e6de |
line wrap: on
line source
1 package com.aurellem.capture;3 import com.aurellem.capture.audio.AudioSendRenderer;4 import com.jme3.audio.AudioRenderer;5 import com.jme3.system.AppSettings;6 import com.jme3.system.JmeDesktopSystem;8 public class AurellemSystemDelegate extends JmeDesktopSystem {10 public static final String SEND = "Send";12 public AudioRenderer newAudioRenderer(AppSettings settings) {13 initialize(settings);14 if (settings.getAudioRenderer().equals(SEND)){15 System.out.println("fuck me");16 return new AudioSendRenderer();17 }18 else {19 System.out.println("fuck you , I'm eating\n");20 return super.newAudioRenderer(settings);21 }23 }24 }