- setActive(boolean) - Method in class de.smits_net.games.framework.sprite.Sprite
-
Sets activity state of the sprite, i.e. if the sprite should take
part in collision detection.
- setAllMovementAnimations(AnimatedImage) - Method in class de.smits_net.games.framework.sprite.DirectionAnimatedSprite
-
Replaces the animation for all directions with the same one.
- setAllNoMovementAnimations(AnimatedImage) - Method in class de.smits_net.games.framework.sprite.DirectionAnimatedSprite
-
Replaces the animation for all directions with the same one.
- setBorder(Polygon) - Method in class de.smits_net.games.framework.sprite.Sprite
-
Sets the border of the sprite (for collision detection).
- setBounds(Rectangle) - Method in class de.smits_net.games.framework.sprite.Sprite
-
Overwrite the bounds automatically determined from the
board.
- setImages(AnimatedImage) - Method in class de.smits_net.games.framework.sprite.AnimatedSprite
-
Set the animated image.
- setInvisibleAfterFrames(int) - Method in class de.smits_net.games.framework.sprite.AnimatedSprite
-
Sets the number of frames the sprite is invisible after.
- setMovementAnimation(Direction, AnimatedImage) - Method in class de.smits_net.games.framework.sprite.DirectionAnimatedSprite
-
Sets the animation for the given direction in case of movement.
- setNoMovementAnimation(Direction, AnimatedImage) - Method in class de.smits_net.games.framework.sprite.DirectionAnimatedSprite
-
Sets the animation for the given direction in case of no movement.
- setPosition(Point) - Method in class de.smits_net.games.framework.sprite.Sprite
-
Sets the position.
- setTarget(Point) - Method in class de.smits_net.games.framework.character.Character
-
Sets the target position of the character.
- setVelocity(Velocity) - Method in class de.smits_net.games.framework.sprite.Sprite
-
Set the velocity of the sprite.
- setVelocity(Direction, int) - Method in class de.smits_net.games.framework.sprite.Velocity
-
Sets the velocity in the given direction.
- setVelocity(Direction, double) - Method in class de.smits_net.games.framework.sprite.Velocity
-
Sets the velocity in the given direction.
- setVisible(Boolean) - Method in class de.smits_net.games.framework.sprite.Sprite
-
Sets the visibility.
- SimpleImage - Class in de.smits_net.games.framework.image
-
A simple image, without any animation.
- SimpleImage(String) - Constructor for class de.smits_net.games.framework.image.SimpleImage
-
Create a new simple image.
- size() - Method in class de.smits_net.games.framework.image.ImagePack
-
Number of the images stored.
- speed - Variable in class de.smits_net.games.framework.character.Character
-
The speed the character moves with.
- Sprite - Class in de.smits_net.games.framework.sprite
-
Class representing a sprite, i.e. an moveable object in the game.
- Sprite(Board, Point, Sprite.BoundaryPolicy, ImagePack) - Constructor for class de.smits_net.games.framework.sprite.Sprite
-
Creates a new sprite.
- Sprite(Board, Point, Sprite.BoundaryPolicy, SimpleImage) - Constructor for class de.smits_net.games.framework.sprite.Sprite
-
Creates a new sprite.
- Sprite.BoundaryPolicy - Enum in de.smits_net.games.framework.sprite
-
How to handle sprites that reach the boundaries of the board.
- SpriteCollection<T extends Sprite> - Class in de.smits_net.games.framework.sprite
-
Enhanced collection class for sprites.
- SpriteCollection() - Constructor for class de.smits_net.games.framework.sprite.SpriteCollection
-
- stop() - Method in class de.smits_net.games.framework.sprite.Sprite
-
Stop the movement of the sprite.
- stopGame() - Method in class de.smits_net.games.framework.board.Board
-
Stops the game.
- StripedImage - Class in de.smits_net.games.framework.image
-
An image with all sub images in one row.
- StripedImage(BufferedImage, int) - Constructor for class de.smits_net.games.framework.image.StripedImage
-
Creates a new striped image with the given number of elements.
- StripedImage(String, int) - Constructor for class de.smits_net.games.framework.image.StripedImage
-
Create a new image.