Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
F
G
I
K
L
S
V
A
applyKeyHandledSprites(Function<? super S>, long)
- Method in interface fr.umlv.platform.
GameModel
Calls function.fun() on any sprites of type S which should be drawn on the game zone
applyParallaxInZone(Function<? super S>, int, int, int, int)
- Method in interface fr.umlv.platform.
GameModel
Calls function.fun() on any parallax of type S which should be drawn on the zone defined by x, y, width, height
applyPatternsInZone(Function<? super S>, int, int, int, int)
- Method in interface fr.umlv.platform.
GameModel
Calls function.fun() on any patterns of type S which should be drawn on the zone defined by x, y, width, height
C
createCompatibleMirrorImage(BufferedImage)
- Static method in class fr.umlv.platform.
Images
Create a new image that is the mirror along the right border of the image taken as argument;
createCompatibleSubImage(BufferedImage, int, int, int, int)
- Static method in class fr.umlv.platform.
Images
Copied a chunk of an image into a new image created a format compatible with the default screen configuration.
F
fr.umlv.platform
- package fr.umlv.platform
fun(S)
- Method in interface fr.umlv.platform.
Function
Draw sprite according to its location in the Frame.
Function
<
S
> - Interface in
fr.umlv.platform
Define a interface which is internally used; programmer does not have to implement it.
G
GameModel
<
S
> - Interface in
fr.umlv.platform
Define a model associated to a game.
GameScene
<
S
> - Class in
fr.umlv.platform
Creates a frame of 320x240 with an average refreshing rates of 50ms.
GameScene(GameModel<S>)
- Constructor for class fr.umlv.platform.
GameScene
Build a scene with its associated
GameModel
getHeight()
- Method in class fr.umlv.platform.
GameScene
Returns the current height of the frame.
getImage(S)
- Method in interface fr.umlv.platform.
GameModel
Returns the image of a given sprite.
getLocation(S)
- Method in interface fr.umlv.platform.
GameModel
Returns the location of a given sprite as a point.
getOffsetX()
- Method in class fr.umlv.platform.
GameScene
Returns the current OffsetX.
getOffsetY()
- Method in class fr.umlv.platform.
GameScene
Returns the current OffsetY.
getWidth()
- Method in class fr.umlv.platform.
GameScene
Returns the current width of the frame.
I
Images
- Class in
fr.umlv.platform
A helper class for loading and croping images.
incrementHorizontalScroll(int)
- Method in class fr.umlv.platform.
GameScene
Alter the offsetX from shift ; used for deciding which part of the level is drawn.
incrementVerticalScroll(int)
- Method in class fr.umlv.platform.
GameScene
Alter the offsetY from shift ; used for deciding which part of the level is drawn If the shift leads to a negative offsetY, the offsetY is set to 0.
K
KeyHandler
- Interface in
fr.umlv.platform
Provides a Specific KeyHandler limited to left, right, down, s and a keys.
KeyHandler.Key
- Enum in
fr.umlv.platform
keyPressed(KeyHandler.Key, long)
- Method in interface fr.umlv.platform.
KeyHandler
Called when the user press a key
keyReleased(KeyHandler.Key, long)
- Method in interface fr.umlv.platform.
KeyHandler
Called when the user release a key
L
loadImage(File)
- Static method in class fr.umlv.platform.
Images
Deprecated.
you should use
Images.loadImage(Class, String)
instead.
loadImage(Class<?>, String)
- Static method in class fr.umlv.platform.
Images
Loads an image from a file in a directory or in a jar.
S
showFrame(String, KeyHandler)
- Method in class fr.umlv.platform.
GameScene
Draw a frame of 320x240 with a refreshing rates of 50ms
V
valueOf(String)
- Static method in enum fr.umlv.platform.
KeyHandler.Key
Returns the enum constant of this type with the specified name.
values()
- Static method in enum fr.umlv.platform.
KeyHandler.Key
Returns an array containing the constants of this enum type, in the order they are declared.
A
C
F
G
I
K
L
S
V
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes