1
2
3
4
5
6
7
8
9
10
11
12
13
14 package org.gscg.gameleader.animation2D;
15
16 import java.io.Serializable;
17
18 /***
19 * The ImageDataInterface describes the methods an ImageDateElement must
20 * implement.
21 * <p>
22 *
23 * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
24 * Delft, the Netherlands. All rights reserved.
25 *
26 * See for project information <a href="http://www.simulation.tudelft.nl/">
27 * www.simulation.tudelft.nl </a>.
28 *
29 * The source code and binary code of this software is proprietary information
30 * of Delft University of Technology.
31 *
32 * @author <a
33 * href="http://www.tbm.tudelft.nl/webstaf/stijnh/index.htm">Stijn-Pieter
34 * van Houten </a>
35 * @version $Revision: 1.1 $ $Date: 2005/06/16 12:34:02 $
36 * @since 1.0.8
37 */
38 public interface ImageDataInterface extends Serializable
39 {
40 /***
41 * Method getType returns a String reflecting the type of image, e.g.
42 * GisActorAnimation or SingleImageRenderable
43 *
44 * @return returns the type
45 */
46 String getType();
47
48 /***
49 * method get key
50 *
51 * @return returns the key
52 */
53 String getKey();
54
55 /***
56 * @return returns an array of doubles reflecting the point
57 */
58 double[] getPoint();
59
60 /***
61 * sets the directed point
62 *
63 * @param points the points reflecting the directed point
64 */
65 void setPoints(final double[] points);
66
67 /***
68 * returns the url of the image as a String
69 *
70 * @return returns the url of the image as a String
71 */
72 String getImage();
73 }