java.lang.Object
org.libsdl.SDLStruct
- public abstract class SDLStruct
- extends java.lang.Object
The SDLStruct class is the base class for any
SDL_java class that represents a native C "object" (aka struct).
Most (but not all) SDL C structures have a corresponding SDL_java
class. These classes all extend the SDLStruct class.
- Version:
- $revision$
|
Field Summary |
protected int |
pointer
An integer that holds the value of a native pointer. |
|
Constructor Summary |
SDLStruct(int l)
Create a new object, setting the pointer variable to the
value of l. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pointer
protected int pointer
- An integer that holds the value of a native pointer. In
other words, a native pointer to a C struct can be obtained
using the value of this instance variable.
SDLStruct
public SDLStruct(int l)
- Create a new object, setting the pointer variable to the
value of
l.