Nextrek
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
package min3d.interfaces;
import android.os.Handler;
/**
* Interface to handle the initialization of the Scene
* and the 'on-enter-frame' updates to the Scene (think 'model').
*
* The RendererActivity class implements this interface.
*
* But you could use any other class to implement this interface,
* not just the Activity class.
*
*/
public interface ISceneController
{
/**
* Initialization of scene objects happens here.
*
* It is called after the GL Surface is created, which means not only at startup,
* but also when the application resumes after losing focus.
*
* It would be the end-user's responsibility to save and restore state if so desired...
*/
public void initScene();
/**
* Updating properties of scene objects happens here.
* This is called on every frame right before the render routine.
*/
public void updateScene();
public Handler getInitSceneHandler();
public Runnable getInitSceneRunnable();
public Handler getUpdateSceneHandler();
public Runnable getUpdateSceneRunnable();
}
|
Revision |
Author |
Commited |
Message |
4
|
FMMortaroli
|
Fri 19 Apr, 2013 16:54:38 +0000 |
|