- scene - Variable in class org.homebrew.MyXlet
-
scene to draw on
- score - Variable in class org.homebrew.MyXlet
-
players score
- SCREENCENTERX - Variable in class org.homebrew.MyXlet
-
constant for the x coordinate of the center of the screen
- SCREENCENTERY - Variable in class org.homebrew.MyXlet
-
constant for the y coordinate of the center of the screen
- SCREENHEIGHT - Variable in class org.homebrew.MyXlet
-
constant for the screen height
- SCREENWIDTH - Variable in class org.homebrew.MyXlet
-
constant for the screen width
- setAlive(boolean) - Method in class org.homebrew.engine.BaseGameEntity
-
sets whether to display the object or not
- setAlive(boolean) - Method in class org.homebrew.engine.Sprite
-
sets whether to display the sprite or not
- setFilename(String) - Method in class org.homebrew.engine.SoundClip
-
Sets the filename of the audio clip
- setGraphics(Graphics) - Method in class org.homebrew.engine.ImageEntity
-
Sets the graphic context for the image
- setImage(Image) - Method in class org.homebrew.engine.ImageEntity
-
Sets the image to display
- setLooping(boolean) - Method in class org.homebrew.engine.SoundClip
-
set if the audio clip should loop
- setPosition(Point2D) - Method in class org.homebrew.engine.Sprite
-
sets the sprites position
- setState(int) - Method in class org.homebrew.engine.Sprite
-
sets the sprites new state
- setVelocity(Point2D) - Method in class org.homebrew.engine.Sprite
-
sets the sprites velocity
- setVelX(int) - Method in class org.homebrew.engine.BaseGameEntity
-
sets the objects new x velocity
- setVelY(int) - Method in class org.homebrew.engine.BaseGameEntity
-
sets the objects new y velocity
- setX(int) - Method in class org.homebrew.engine.BaseGameEntity
-
sets the objects x position
- setX(double) - Method in class org.homebrew.engine.Point2D
-
Sets the x value as a double
- setX(float) - Method in class org.homebrew.engine.Point2D
-
Sets the x value as a float
- setX(int) - Method in class org.homebrew.engine.Point2D
-
Sets the x value as an integer
- setY(int) - Method in class org.homebrew.engine.BaseGameEntity
-
sets the objects y position
- setY(double) - Method in class org.homebrew.engine.Point2D
-
Sets the y value as a double
- setY(float) - Method in class org.homebrew.engine.Point2D
-
Sets the y value as a float
- setY(int) - Method in class org.homebrew.engine.Point2D
-
Sets the y value as an integer
- SoundClip - Class in org.homebrew.engine
-
- SoundClip() - Constructor for class org.homebrew.engine.SoundClip
-
default constructor
- SoundClip(String) - Constructor for class org.homebrew.engine.SoundClip
-
overloading constructor
- Sprite - Class in org.homebrew.engine
-
This class contains all the methods necessary to work with a single sprite such as moving, displaying and
collision detection.
- Sprite(HScene) - Constructor for class org.homebrew.engine.Sprite
-
class constructor initializes the sprites properties and adds it to the scene
- startXlet() - Method in class org.homebrew.MyXlet
-
makes the scene visible, starts the game loop and calls repaint to draw the first frame
- state - Variable in class org.homebrew.MyXlet
-
game state
- stop() - Method in class org.homebrew.engine.SoundClip
-
stops an audio clip