View Javadoc

1   package com.insanityengine.ghia.m3;
2   
3   /***
4    *
5    * <P>
6    * </P>
7    *
8    * @author BrianHammond
9    *
10   * $Header: /usr/local/cvsroot/ghia/src/java/com/insanityengine/ghia/m3/Extent2d.java,v 1.2 2005/03/19 17:50:02 brian Exp $
11   *
12   */
13  
14  public class Extent2d implements Extent2dInterface {
15  
16  	/***
17  	 *
18  	 * Constructor
19  	 *
20  	 */
21  	public Extent2d() {
22  	}
23  	
24  	/***
25  	 *
26  	 * Determines the width of the object. 
27  	 *
28  	 * @return the width of this object
29  	 *
30  	 */
31  	public final int getWidth() {
32  		return width;
33  	}
34  
35  	/***
36  	 *
37  	 * Set the width of the object. 
38  	 *
39  	 * @param width to set to
40  	 *
41  	 */
42  	public final void setWidth( int width ) {
43  		this.width = width;
44  	}
45  
46  	/***
47  	 *
48  	 * Determines the height of the object. 
49  	 *
50  	 * @return the height of this object
51  	 *
52  	 */
53  	public final int getHeight() {
54  		return height;
55  	}
56  
57  	/***
58  	 *
59  	 * Set the height of the object. 
60  	 *
61  	 * @param height of this object
62  	 *
63  	 */
64  	public final void setHeight( int height ) {
65  		this.height = height;
66  	}
67  
68  	///////////////////
69  
70  	private int width = 0;
71  	private int height = 0;
72  };
73  
74  /***
75   *
76   * $Log: Extent2d.java,v $
77   * Revision 1.2  2005/03/19 17:50:02  brian
78   * repackaging
79   *
80   * Revision 1.1  2004/09/03 03:35:00  brian
81   * impls
82   *
83   *
84   */