Source code: com/siemens/mp/game/GraphicObject.java
1 /*
2 * Siemens API for MicroEmulator
3 * Copyright (C) 2003 Markus Heberling <markus@heberling.net>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 package com.siemens.mp.game;
20
21 import javax.microedition.midlet.*;
22
23 /**
24 *
25 * @author markus
26 * @version
27 */
28 public class GraphicObject extends com.siemens.mp.misc.NativeMem {
29 /** Holds value of property visible. */
30 private boolean visible;
31
32 protected GraphicObject()
33 {
34 super();
35 }
36
37 /** Getter for property visible.
38 * @return Value of property visible.
39 *
40 */
41 public boolean getVisible() {
42 return this.visible;
43 }
44
45 /** Setter for property visible.
46 * @param visible New value of property visible.
47 *
48 */
49 public void setVisible(boolean visible) {
50 this.visible = visible;
51 }
52
53 protected void paint(javax.microedition.lcdui.Graphics g)
54 {
55
56 }
57 }