Genuts API
A C D F G I L M N P R S T U V X Y

S

ScrollingImageSprite - class com.genuts.gameui.ScrollingImageSprite.
A scrolling image sprite is a background sprite in which an image scrolls with a given speed.
ScrollingImageSprite(int, int, Image, int, int) - Constructor for class com.genuts.gameui.ScrollingImageSprite
Initialises the scrolling sprite.
ScrollingTransparentImageSprite - class com.genuts.gameui.ScrollingTransparentImageSprite.
A scrolling image sprite is a background sprite in which an image scrolls with a given speed.
ScrollingTransparentImageSprite(int, int, Image, int, int, Color) - Constructor for class com.genuts.gameui.ScrollingTransparentImageSprite
Initialises the sprite.
ScrollingTransparentImageSprite(int, int, Image, int, int, int) - Constructor for class com.genuts.gameui.ScrollingTransparentImageSprite
Initialises the sprite.
SimpleAnimationSprite - class com.genuts.gameui.SimpleAnimationSprite.
A simple animation sprite provides a sprite for an animated picture with several cycles of animation.
SimpleAnimationSprite(Image, int, int, int) - Constructor for class com.genuts.gameui.SimpleAnimationSprite
Initializes the sprite, with an animation image with one cycle of animation.
SimpleAnimationSprite(Image, int, int, int, int) - Constructor for class com.genuts.gameui.SimpleAnimationSprite
Initializes the sprite, with an animation image with several animations cycles.
SoundList - class com.genuts.audio.SoundList.
Loads and holds a bunch of audio files whose locations are specified relative to a fixed base URL.
SoundList(Applet, URL) - Constructor for class com.genuts.audio.SoundList
Creates a new sound list for an Applet.
SoundList(URL) - Constructor for class com.genuts.audio.SoundList
Creates a new sound list for an Application.
SpotSprite - class com.genuts.gameui.SpotSprite.
This sprite is a pink disk, it is only used in TraceSpriteWrapper
SpotSprite(int, int) - Constructor for class com.genuts.gameui.SpotSprite
Initializes the sprite.
Sprite - class com.genuts.gameui.Sprite.
A sprite is an object having a graphical representation that have its own behavior.
Sprite() - Constructor for class com.genuts.gameui.Sprite
Initialize a simple sprite.
Sprite(int, int) - Constructor for class com.genuts.gameui.Sprite
Initializes the sprite with a size.
Sprite(Image) - Constructor for class com.genuts.gameui.Sprite
Initializes the sprite with an image.
SpriteCollisionManager - class com.genuts.gameui.SpriteCollisionManager.
The sprite collision manager checks collisions in the general case for sprites.
SpriteCollisionManager(int) - Constructor for class com.genuts.gameui.SpriteCollisionManager
Initializes this collision manager with a collision step.
SpriteCounter - class com.genuts.gameui.SpriteCounter.
This object is for representation of all counter types such player's score.
SpriteCounter() - Constructor for class com.genuts.gameui.SpriteCounter
Initializes the counter.
SpriteCounter(int) - Constructor for class com.genuts.gameui.SpriteCounter
Initializes the counter with a specified number of digits to display.
SpriteDisplayManager - class com.genuts.gameui.SpriteDisplayManager.
This display manager draws efficiently sprites in the playfield.
SpriteDisplayManager(int) - Constructor for class com.genuts.gameui.SpriteDisplayManager
Initializes this display manager with a display step.
SpriteImageCounter - class com.genuts.gameui.SpriteImageCounter.
This object is for representation of all counter type such player's score with an image.
SpriteImageCounter(Image, int, int) - Constructor for class com.genuts.gameui.SpriteImageCounter
Initializes the counter with an image of digits.
SpriteImageCounter(Image, int, int, int) - Constructor for class com.genuts.gameui.SpriteImageCounter
Initializes the counter with an image of digits and a specified number of digits to display.
SpriteLabel - class com.genuts.gameui.SpriteLabel.
A Label object is a sprite for placing text in a playfield.
SpriteLabel(String) - Constructor for class com.genuts.gameui.SpriteLabel
Initializes the label.
SpriteWrapper - class com.genuts.gameui.SpriteWrapper.
This Sprite is a special sprite, its goal is only to wrap another Sprite Object.
SpriteWrapper() - Constructor for class com.genuts.gameui.SpriteWrapper
Initializes a default wrapper sprite.
SpriteWrapper(Sprite) - Constructor for class com.genuts.gameui.SpriteWrapper
Initializes the wrapper sprite.
scrollingImage - Variable in class com.genuts.gameui.ScrollingImageSprite
Image on with the scrolling is made.
sendTicks() - Method in class com.genuts.gameui.PlayField
Send a tick to all tickable objects in this playfield.
sequenceEnded() - Method in class com.genuts.gameui.ImageSequenceSprite
Indicates that the sequence ended.
sequenceEnded() - Method in class com.genuts.gameui.SimpleAnimationSprite
Indicate that all cycles of the animation are ended.
setActionSprite(Sprite) - Method in class com.genuts.gameui.MovingPrecisionSpriteWrapper
Sets the action sprite.
setActionSprite(Sprite) - Method in class com.genuts.gameui.SpriteWrapper
Sets the action sprite.
setBackground(Color) - Method in class com.genuts.gameui.Sprite
Sets the background color for this sprite.
setBackground(Color) - Method in class com.genuts.gameui.SpriteWrapper
Sets the background color for the action sprite.
setBackgroundImage(Image) - Method in class com.genuts.gameui.PlayField
Sets the background image for this playfield.
setBackgroundSprite(boolean) - Method in class com.genuts.gameui.Sprite
Sets if this sprite is a piece of the background.
setBackgroundSprite(boolean) - Method in class com.genuts.gameui.SpriteWrapper
Sets if the action sprite a part of the background.
setBaseline(int) - Method in class com.genuts.gameui.SpriteLabel
Sets the baseline for this label.
setBottomCollisionOffset(int) - Method in class com.genuts.gameui.Sprite
Sets the offset on the bottom side for which the collision must not be considered.
setBottomCollisionOffset(int) - Method in class com.genuts.gameui.SpriteWrapper
Sets the offset on the bottom side for which the collision must not be considered.
setBounds(Rectangle) - Method in class com.genuts.gameui.Sprite
Moves and resizes this sprite to conform to the new bounding rectangle r.
setBounds(int, int, int, int) - Method in class com.genuts.gameui.Sprite
Moves and resizes this sprite to conform to the new bounding rectangle.
setBounds(Rectangle) - Method in class com.genuts.gameui.SpriteWrapper
Moves and resizes the action sprite to conform to the new bounding rectangle r.
setBounds(int, int, int, int) - Method in class com.genuts.gameui.SpriteWrapper
Moves and resizes this action sprite to conform to the new bounding rectangle.
setCollisionManager(CollisionManager) - Method in class com.genuts.gameui.PlayField
Sets the collision manager for this playfield.
setCollisionStep(int) - Method in class com.genuts.gameui.SpriteCollisionManager
Sets the collision step check of this collision manager.
setColor(Color) - Method in class com.genuts.gameui.SpriteLabel
Sets the color for this label.
setContinuity(boolean) - Method in class com.genuts.gameui.LCDSprite
Sets the continuity of pictures from the sequence.
setCurrentPictureNumber(int) - Method in class com.genuts.gameui.ImageSequenceSprite
Sets the current picture position in the image sequence.
setCurrentPictureNumber(int) - Method in class com.genuts.gameui.LCDSprite
Sets the current picture position in the sequence.
setCurrentPosition(int) - Method in class com.genuts.gameui.LCDSprite
Sets the current position.
setCurrentRemindTick(int) - Method in class com.genuts.gameui.AnimatedSprite
Sets the number of ticks to way before the next picture will be displayed.
setCurrentRemindTick(int) - Method in class com.genuts.gameui.LCDAnimatedSprite
Sets the value of currentTick.
setCycles(int) - Method in class com.genuts.gameui.SimpleAnimationSprite
Sets the number of cycles for this animation.
setDigitsCount(int) - Method in class com.genuts.gameui.SpriteCounter
Sets the number of digits to display.
setDigitsImage(Image, int, int) - Method in class com.genuts.gameui.SpriteImageCounter
Sets the image of digits for this counter.
setDisplayAllDigits(boolean) - Method in class com.genuts.gameui.SpriteCounter
Are all digits displayed?
setDisplayManager(DisplayManager) - Method in class com.genuts.gameui.PlayField
Sets the display manager for this playfield.
setDisplayStep(int) - Method in class com.genuts.gameui.SpriteDisplayManager
Sets the display step check of this display manager.
setDoneCycles(int) - Method in class com.genuts.gameui.SimpleAnimationSprite
Sets the number of done cycles for this animation.
setFont(Font) - Method in class com.genuts.gameui.SpriteLabel
Gets the font for this label.
setFrequence(int) - Method in class com.genuts.gameui.AnimatedSprite
Sets the number of ticks to wait between two pictures of the animation.
setFrequence(int) - Method in class com.genuts.gameui.LCDAnimatedSprite
Sets the number of ticks before a picture of the animation change.
setHorizontalPicture(int) - Method in class com.genuts.gameui.ImageSequenceSprite
Sets the current horizontal index of the displayed picture in the image.
setHorizontalPicture(int) - Method in class com.genuts.gameui.LCDSprite
Sets the current horizontal picture of the displayed image of the sequence.
setId(int) - Method in class com.genuts.gameui.Sprite
Sets this sprite's id.
setId(int) - Method in class com.genuts.gameui.SpriteWrapper
Sets the action sprite's id.
setImage(Image) - Method in class com.genuts.gameui.Sprite
Sets the image for this sprite.
setImage(Image) - Method in class com.genuts.gameui.SpriteWrapper
Sets the image for the action sprite.
setLCDAnimatedSpriteCount(int) - Method in class com.genuts.gameui.LCDAnimatedSprite
Set the number of LCDAnimatedSprite in the parent playfield.
setLeftCollisionOffset(int) - Method in class com.genuts.gameui.Sprite
Sets the offset on the left side for which the collision must not be considered.
setLeftCollisionOffset(int) - Method in class com.genuts.gameui.SpriteWrapper
Sets the offset on the left side for which the collision must not be considered.
setMaximumValue(int) - Method in class com.genuts.gameui.SpriteCounter
Sets the maximum value for this counter.
setMute(boolean) - Method in class com.genuts.audio.SoundList
Sets the mute mode for this sound list.
setOffset(int, int) - Method in class com.genuts.gameui.PlayField
Sets the paint offset of the display image.
setParent(PlayField) - Method in class com.genuts.gameui.LCDAnimatedSprite
 
setParent(PlayField) - Method in class com.genuts.gameui.LCDSprite
 
setParent(PlayField) - Method in class com.genuts.gameui.SimpleAnimationSprite
Sets the parent playfield of this sprite.
setParent(PlayField) - Method in class com.genuts.gameui.Sprite
Sets the parent playfield of this sprite.
setParent(PlayField) - Method in class com.genuts.gameui.SpriteLabel
 
setParent(PlayField) - Method in class com.genuts.gameui.SpriteWrapper
Sets the parent playfield of the action sprite.
setParent(PlayField) - Method in class com.genuts.gameui.TraceSpriteWrapper
 
setPause(boolean) - Method in class com.genuts.gameui.AnimatedSprite
Sets pause state for this animated sprite.
setPause(int) - Method in class com.genuts.gameui.PlayField
Sets pause state for this playfield during n cycles.
setPause(boolean) - Method in class com.genuts.gameui.PlayField
Sets pause state for this playfield.
setPlayfield(PlayField) - Method in interface com.genuts.gameui.CollisionManager
Sets the playfield associated with this collision manager.
setPlayfield(PlayField) - Method in interface com.genuts.gameui.DisplayManager
Sets the playfield associated with this display manager.
setPlayfield(PlayField) - Method in class com.genuts.gameui.LCDCollisionManager
 
setPlayfield(PlayField) - Method in class com.genuts.gameui.SpriteCollisionManager
 
setPlayfield(PlayField) - Method in class com.genuts.gameui.SpriteDisplayManager
 
setPosition(int, int) - Method in class com.genuts.gameui.MovingPrecisionSpriteWrapper
Sets the position of the action sprite in the playfield.
setPosition(int, int) - Method in class com.genuts.gameui.Sprite
Sets the position of this sprite in the playfield.
setPosition(int, int) - Method in class com.genuts.gameui.SpriteWrapper
Sets the position of the action sprite in the playfield.
setPositions(int[][]) - Method in class com.genuts.gameui.LCDSprite
Sets positions for each sequence.
setPrecisionPosition(double, double) - Method in class com.genuts.gameui.MovingPrecisionSpriteWrapper
Sets the position of the action sprite in the playfield with double type values.
setPreferredSize(int, int) - Method in class com.genuts.gameui.PlayField
Sets the preferred size for this playfield.
setPremode(boolean) - Method in class com.genuts.gameui.Sprite
Sets the pre-collision mode for this sprite.
setPremode(boolean) - Method in class com.genuts.gameui.SpriteWrapper
Sets the pre-collision mode for the action sprite.
setRightCollisionOffset(int) - Method in class com.genuts.gameui.Sprite
Sets the offset on the right side for which the collision must not be considered.
setRightCollisionOffset(int) - Method in class com.genuts.gameui.SpriteWrapper
Sets the offset on the right side for which the collision must not be considered.
setRotation(int) - Method in class com.genuts.gameui.Sprite
Sets the angle of the rotation of the image.
setRotation(int) - Method in class com.genuts.gameui.SpriteWrapper
Sets the angle of the rotation of the image for this action sprite.
setScrollingImage(Image) - Method in class com.genuts.gameui.ScrollingImageSprite
Sets the image for the scrolling.
setScrollingSpeed(int, int) - Method in class com.genuts.gameui.ScrollingImageSprite
Sets speed of the scrolling.
setSequence(Image, int, int) - Method in class com.genuts.gameui.ImageSequenceSprite
Sets the pictures seqeunce for this sprite.
setSequence(Image, int, int) - Method in class com.genuts.gameui.LCDSprite
Sets the pictures sequence for this sprite.
setSequenceEnded(boolean) - Method in class com.genuts.gameui.ImageSequenceSprite
Sets if the sequence loop ended.
setSequenceLoop(boolean) - Method in class com.genuts.gameui.ImageSequenceSprite
Sets if the sequence loops or stop on the last image.
setSequentialAnimation(boolean) - Method in class com.genuts.gameui.LCDAnimatedSprite
Sets if the animation of all LCDAnimatedSprite is made sequentially.
setSize(int, int) - Method in class com.genuts.gameui.PlayField
Resizes this playfield so that it has width width and height.
setSize(int, int) - Method in class com.genuts.gameui.ScrollingImageSprite
Sets the size of this sprite.
setSize(int, int) - Method in class com.genuts.gameui.Sprite
Sets the size of this sprite.
setSize(int, int) - Method in class com.genuts.gameui.SpriteWrapper
Sets the size of the action sprite.
setSleepTime(int) - Method in class com.genuts.gameui.PlayField
Sets the time delay between 2 ticks.
setText(String) - Method in class com.genuts.gameui.SpriteLabel
Sets the text for this label.
setTicks(int) - Method in class com.genuts.gameui.PlayField
Sets the number of ticks from the start of the this playfield.
setTopCollisionOffset(int) - Method in class com.genuts.gameui.Sprite
Sets the offset on the top side for which the collision must not be considered.
setTopCollisionOffset(int) - Method in class com.genuts.gameui.SpriteWrapper
Sets the offset on the top side for which the collision must not be considered.
setValue(int) - Method in class com.genuts.gameui.SpriteCounter
Sets the value of this counter.
setVerticalPicture(int) - Method in class com.genuts.gameui.ImageSequenceSprite
Sets the current vertical index of the displayed picture in the image.
setVerticalPicture(int) - Method in class com.genuts.gameui.LCDSprite
Sets the current vertical picture of the displayed image of the sequence.
setVisible(boolean) - Method in class com.genuts.gameui.Sprite
Sets if the sprite is visible.
setVisible(boolean) - Method in class com.genuts.gameui.SpriteWrapper
Sets if the action sprite is visible.
setWrapper(SpriteWrapper) - Method in class com.genuts.gameui.Sprite
Sets the wrapper sprite of this sprite.
startLoading(String) - Method in class com.genuts.audio.SoundList
Starts loading an audio clip.
stop() - Method in class com.genuts.gameui.PlayField
Stops explicitly the execution of this playfield.
stopClip(String) - Method in class com.genuts.audio.SoundList
Stops playing the audio clip with the specidied relative URL.
subValue(int) - Method in class com.genuts.gameui.SpriteCounter
Subs a value to the value of this counter.

Genuts API
A C D F G I L M N P R S T U V X Y
Genuts API