/extensions/org/mt4jx/input/inputProcessors/componentProcessors/Rotate3DProcessor/RotationPreDraw.java

http://mt4j.googlecode.com/ · Java · 25 lines · 17 code · 7 blank · 1 comment · 0 complexity · 6d609e44af28e1d5c504bc95869c916d MD5 · raw file

  1. package org.mt4jx.input.inputProcessors.componentProcessors.Rotate3DProcessor;
  2. import org.mt4j.sceneManagement.IPreDrawAction;
  3. import org.mt4jx.input.gestureAction.Rotate3DAction;
  4. public class RotationPreDraw implements IPreDrawAction {
  5. private Rotate3DAction action;
  6. public RotationPreDraw(Rotate3DAction action)
  7. {
  8. this.action = action;
  9. }
  10. public boolean isLoop() {
  11. // TODO Auto-generated method stub
  12. return true;
  13. }
  14. public void processAction() {
  15. System.out.println("process predraw aciton");
  16. action.draw();
  17. }
  18. }