A B C D E F G H I J K L M N O P R S T U W X Y

S

samples - Variable in class com.brackeen.javagamebook.sound.Sound
 
samples - Variable in class com.brackeen.javagamebook.util.TimeSmoothie
 
screen - Variable in class com.brackeen.javagamebook.test.GameCore
 
ScreenManager - Class in com.brackeen.javagamebook.graphics
The ScreenManager class manages initializing and displaying full screen graphics modes.
ScreenManager() - Constructor for class com.brackeen.javagamebook.graphics.ScreenManager
Creates a new ScreenManager object.
se.liu.student.kimgr905.tilegame - package se.liu.student.kimgr905.tilegame
 
se.liu.student.kimgr905.tilegame.sprites - package se.liu.student.kimgr905.tilegame.sprites
 
sequencer - Variable in class com.brackeen.javagamebook.sound.MidiPlayer
 
setBackground(Image) - Method in class se.liu.student.kimgr905.tilegame.TileMapRenderer
Sets the background to draw.
setBoss(Sprite) - Method in class se.liu.student.kimgr905.tilegame.TileMap
Sets the boss on the TileMap (as a Sprite object).
setCursor(Cursor) - Method in class com.brackeen.javagamebook.input.InputManager
Sets the cursor on this InputManager's input component.
setFullScreen(DisplayMode) - Method in class com.brackeen.javagamebook.graphics.ScreenManager
Enters full screen mode and changes the display mode.
setHitPoints(int) - Method in class se.liu.student.kimgr905.tilegame.sprites.Ship
 
setPaused(boolean) - Method in class com.brackeen.javagamebook.sound.MidiPlayer
Sets the paused state.
setPaused(boolean) - Method in class com.brackeen.javagamebook.sound.SoundManager
Sets the paused state.
setPlayer(Sprite) - Method in class se.liu.student.kimgr905.tilegame.TileMap
Sets the player on the TileMap (as a Sprite object).
setRelativeMouseMode(boolean) - Method in class com.brackeen.javagamebook.input.InputManager
Sets whether realtive mouse mode is on or not.
setSample(byte[], int, short) - Static method in class com.brackeen.javagamebook.sound.SoundFilter
Convenience method for setting a 16-bit sample in a byte array.
setShield() - Method in class se.liu.student.kimgr905.tilegame.sprites.Player
Enable the shield for the player, setting the variable shieldPoints to SHIELD_POINTS
setShieldPoints(int) - Method in class se.liu.student.kimgr905.tilegame.sprites.Player
 
setState(String) - Method in class com.brackeen.javagamebook.state.GameStateManager
Sets the current state (by name).
setState(int) - Method in class se.liu.student.kimgr905.tilegame.sprites.Ship
Sets the state of the ship.
setState(int) - Method in class se.liu.student.kimgr905.tilegame.sprites.Sprite
Sets the state of this SPRITE to STATE_NORMAL, STATE_SHOOTING, STATE_EXPLODING or STATE_DEAD.
setVelocityX(float) - Method in class se.liu.student.kimgr905.tilegame.sprites.Sprite
Sets the horizontal velocity of this Sprite in pixels per millisecond.
setVelocityY(float) - Method in class se.liu.student.kimgr905.tilegame.sprites.Sprite
Sets the vertical velocity of this Sprite in pixels per millisecond.
setWeapon(int) - Method in class se.liu.student.kimgr905.tilegame.sprites.Player
Sets a new weapon for the player.
setX(float) - Method in class se.liu.student.kimgr905.tilegame.sprites.Sprite
Sets this Sprite's current x position.
setY(float) - Method in class se.liu.student.kimgr905.tilegame.sprites.Sprite
Sets this Sprite's current y position.
SHIELD_POINTS - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Player
 
shieldPoints - Variable in class se.liu.student.kimgr905.tilegame.sprites.Player
 
shieldSprite - Variable in class se.liu.student.kimgr905.tilegame.TileGameResourceManager
 
Ship - Class in se.liu.student.kimgr905.tilegame.sprites
A Ship is a Sprite that has three Animations and a certain amount of hitpoints.
Ship(Animation, Animation) - Constructor for class se.liu.student.kimgr905.tilegame.sprites.Ship
Creates a ship with the specified animation.
shoot - Variable in class se.liu.student.kimgr905.tilegame.GameManager
 
shoot() - Method in class se.liu.student.kimgr905.tilegame.sprites.Boss.Boss1
Updates the shooting status for this boss.
shoot() - Method in class se.liu.student.kimgr905.tilegame.sprites.Player
Decreases ammo, sets back to standard weapon when the player is out of ammo and also signals that the player is done shooting.
shoot() - Method in class se.liu.student.kimgr905.tilegame.sprites.Ship
Sets shooting variables, should be overwritten by ships that shoot.
Shot - Class in se.liu.student.kimgr905.tilegame.sprites
A shot is a Sprite that has one Animation.
Shot(Animation) - Constructor for class se.liu.student.kimgr905.tilegame.sprites.Shot
 
Shot.AimedShot - Class in se.liu.student.kimgr905.tilegame.sprites
A AimedShot is a shot with one animation.
Shot.AimedShot(Animation) - Constructor for class se.liu.student.kimgr905.tilegame.sprites.Shot.AimedShot
Creates an AimedShot shot with the specified animation.
Shot.BossCannon - Class in se.liu.student.kimgr905.tilegame.sprites
A BossCannon is a shot with one animation.
Shot.BossCannon(Animation) - Constructor for class se.liu.student.kimgr905.tilegame.sprites.Shot.BossCannon
Creates a BossCannon shot with the specified animation.
Shot.BossLazer - Class in se.liu.student.kimgr905.tilegame.sprites
A BossLazer is a shot with one Animation.
Shot.BossLazer(Animation) - Constructor for class se.liu.student.kimgr905.tilegame.sprites.Shot.BossLazer
Creates a BossLazer shot with the specified animation.
Shot.DualShot - Class in se.liu.student.kimgr905.tilegame.sprites
DualShot is a shot with one animation.
Shot.DualShot(Animation) - Constructor for class se.liu.student.kimgr905.tilegame.sprites.Shot.DualShot
DualShot is a shot with one animation.
Shot.PlayerShot - Class in se.liu.student.kimgr905.tilegame.sprites
The Player's shots, has one animation.
Shot.PlayerShot(Animation) - Constructor for class se.liu.student.kimgr905.tilegame.sprites.Shot.PlayerShot
Creates a PlayerShot with the specified animation.
shotCounter - Variable in class se.liu.student.kimgr905.tilegame.sprites.Boss.Boss1
 
SHOTPOS_XCENTER - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Boss.Boss1
Center x shot position.
SHOTPOS_XLEFT - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Boss.Boss1
Left x shot position.
SHOTPOS_XRIGHT - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Boss.Boss1
Right x shot position.
SHOTPOS_Y - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Boss.Boss1
Y shot position.
SINGLE_LAZER - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Player
Single lazer.
SINGLE_X - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Player
Single lazer x-position.
SINGLE_Y - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Player
Single lazer y-position.
SLEEP_SPEED - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Biglazer
 
SLEEP_SPEED - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Boss.Boss1
 
Sound - Class in com.brackeen.javagamebook.sound
The Sound class is a container for sound samples.
Sound(byte[]) - Constructor for class com.brackeen.javagamebook.sound.Sound
Create a new Sound object with the specified byte array.
soundFilter - Variable in class com.brackeen.javagamebook.sound.FilteredSoundStream
 
SoundFilter - Class in com.brackeen.javagamebook.sound
A abstract class designed to filter sound samples.
SoundFilter() - Constructor for class com.brackeen.javagamebook.sound.SoundFilter
 
SoundManager - Class in com.brackeen.javagamebook.sound
The SoundManager class manages sound playback.
SoundManager(AudioFormat) - Constructor for class com.brackeen.javagamebook.sound.SoundManager
Creates a new SoundManager using the maximum number of simultaneous sounds.
SoundManager(AudioFormat, int) - Constructor for class com.brackeen.javagamebook.sound.SoundManager
Creates a new SoundManager with the specified maximum number of simultaneous sounds.
soundManager - Variable in class com.brackeen.javagamebook.state.ResourceManager
 
soundManager - Variable in class se.liu.student.kimgr905.tilegame.GameManager
 
SoundManager.SoundPlayer - Class in com.brackeen.javagamebook.sound
The SoundPlayer class is a task for the PooledThreads to run.
SoundManager.SoundPlayer(InputStream) - Constructor for class com.brackeen.javagamebook.sound.SoundManager.SoundPlayer
 
source - Variable in class com.brackeen.javagamebook.sound.Filter3d
 
source - Variable in class com.brackeen.javagamebook.sound.SoundManager.SoundPlayer
 
Sprite - Class in se.liu.student.kimgr905.tilegame.sprites
A sprite is a object with a Animation, and information about x and y-position as well as velocity and current state.
Sprite(Animation) - Constructor for class se.liu.student.kimgr905.tilegame.sprites.Sprite
Creates a new Sprite object with the specified Animation.
sprites - Variable in class se.liu.student.kimgr905.tilegame.TileMap
 
start() - Method in class com.brackeen.javagamebook.graphics.Animation
Starts this animation over from the beginning.
start(InputManager) - Method in interface com.brackeen.javagamebook.state.GameState
Initializes this state and sets up the input manager
startTime - Variable in class com.brackeen.javagamebook.util.TimeSmoothie
 
state - Variable in class com.brackeen.javagamebook.input.GameAction
 
state - Variable in class se.liu.student.kimgr905.tilegame.sprites.Sprite
 
STATE_DEAD - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Sprite
The Sprite is dead.
STATE_EXPLODING - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Sprite
The Sprite is exploding.
STATE_NORMAL - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Sprite
The Sprite is normal.
STATE_PRESSED - Static variable in class com.brackeen.javagamebook.input.GameAction
 
STATE_RELEASED - Static variable in class com.brackeen.javagamebook.input.GameAction
 
STATE_SHOOTING - Static variable in class se.liu.student.kimgr905.tilegame.sprites.Sprite
The Sprite is shooting.
STATE_WAITING_FOR_RELEASE - Static variable in class com.brackeen.javagamebook.input.GameAction
 
stateTime - Variable in class se.liu.student.kimgr905.tilegame.sprites.Ship
 
statusBarHeight - Variable in class se.liu.student.kimgr905.tilegame.TileMapRenderer
the height of the windowBar in pixels
stop() - Method in class com.brackeen.javagamebook.sound.MidiPlayer
Stops the sequencer and resets its position to 0.
stop() - Method in interface com.brackeen.javagamebook.state.GameState
Performs any actions needed to stop this state.
stop() - Method in class com.brackeen.javagamebook.test.GameCore
Signals the game loop that it's time to quit
stop() - Method in class se.liu.student.kimgr905.tilegame.GameManager
Closes any resource used by the GameManager.

A B C D E F G H I J K L M N O P R S T U W X Y