1 package com.insanityengine.ghia.renderer;
2
3 import com.insanityengine.ghia.libograf.*;
4
5 /***
6 *
7 * <P>
8 * </P>
9 *
10 * @author BrianHammond
11 *
12 * $Header: /usr/local/cvsroot/ghia/src/java/com/insanityengine/ghia/renderer/DrawerRegistryInterface.java,v 1.3 2005/03/19 17:50:02 brian Exp $
13 *
14 */
15
16 public interface DrawerRegistryInterface {
17
18 /***
19 *
20 * Some renderers are big babys about when it is ok to mess with their goodies.
21 * Hence this cheesy add/remove Drawer mess
22 *
23 * @param drawer to call per frame
24 *
25 */
26 public void addDrawer( DrawingInterface drawer );
27
28 /***
29 *
30 * Some renderers are big babys about when it is ok to mess with their goodies.
31 * Hence this cheesy add/remove Drawer mess
32 *
33 * @param drawer to call per frame
34 *
35 */
36 public void removeDrawer( DrawingInterface drawer );
37
38 /***
39 *
40 * Invoke any registered DrawingInterfaces
41 *
42 * @param context to render in
43 *
44 */
45 public void invokeDrawers( LiboGraf context );
46
47 };
48
49 /***
50 *
51 * $Log: DrawerRegistryInterface.java,v $
52 * Revision 1.3 2005/03/19 17:50:02 brian
53 * repackaging
54 *
55 * Revision 1.2 2004/09/11 14:37:21 brian
56 * added RendererConsumer and stuff
57 *
58 * Revision 1.1 2004/09/05 03:39:58 brian
59 * track those drawingIfz
60 *
61 *
62 */