PageRenderTime 19ms CodeModel.GetById 12ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

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