- ADD_RINGS_DELAY - Static variable in class general.ShopImagePanel
-
The delay to update the player's rings when increased
- addImage(Sprite) - Method in class utility.ImageManager
-
Adds the sprites to the manager
- addItem() - Method in class general.ShopImagePanel
-
Adds items sent from the server to the shop panel
- addJScrollPane() - Method in class general.ChatPanel
-
Adds a scroller to to the chat panel when the chat field is fully filled with messages
- addRings() - Method in class general.ShopImagePanel
-
Adds rings to the database when Sonic collects rings when the shop panel is closed
- aKeyPressed - Static variable in class utility.KeyboardInput
-
Moving right
- ANIM_BUZZBOMBER_FIRE_FILENAME_POSTFIX - Static variable in class utility.SpriteBuzzbomberFire
-
The sprite filename suffix
- ANIM_BUZZBOMBER_FIRE_FILENAME_PREFIX - Static variable in class utility.SpriteBuzzbomberFire
-
The sprite filename prefix
- ANIM_BUZZBOMBER_FIRE_ID - Static variable in class utility.SpriteBuzzbomberFire
-
The animation number ID
- ANIM_BUZZBOMBER_FIRE_INTERVAL_DELAY - Static variable in class utility.SpriteBuzzbomberFire
-
The delay between each sprite change
- ANIM_BUZZBOMBER_FIRE_NUM_SPRITES - Static variable in class utility.SpriteBuzzbomberFire
-
The number of sprites in an animation
- ANIM_BUZZBOMBER_FIRE_REPETITION - Static variable in class utility.SpriteBuzzbomberFire
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_BUZZBOMBER_FIRE_START_INDEX - Static variable in class utility.SpriteBuzzbomberFire
-
The starting index of the animation
- ANIM_BUZZBOMBER_FLY_FILENAME_POSTFIX - Static variable in class utility.SpriteBuzzbomberFly
-
The sprite filename suffix
- ANIM_BUZZBOMBER_FLY_FILENAME_PREFIX - Static variable in class utility.SpriteBuzzbomberFly
-
The sprite filename prefix
- ANIM_BUZZBOMBER_FLY_ID - Static variable in class utility.SpriteBuzzbomberFly
-
The animation number ID
- ANIM_BUZZBOMBER_FLY_INTERVAL_DELAY - Static variable in class utility.SpriteBuzzbomberFly
-
The delay between each sprite change
- ANIM_BUZZBOMBER_FLY_NUM_SPRITES - Static variable in class utility.SpriteBuzzbomberFly
-
The number of sprites in an animation
- ANIM_BUZZBOMBER_FLY_REPETITION - Static variable in class utility.SpriteBuzzbomberFly
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_BUZZBOMBER_FLY_START_INDEX - Static variable in class utility.SpriteBuzzbomberFly
-
The starting index of the animation
- ANIM_CHOPPER_FILENAME_POSTFIX - Static variable in class utility.SpriteChopper
-
The sprite filename suffix
- ANIM_CHOPPER_FILENAME_PREFIX - Static variable in class utility.SpriteChopper
-
The sprite filename prefix
- ANIM_CHOPPER_ID - Static variable in class utility.SpriteChopper
-
The animation number ID
- ANIM_CHOPPER_INTERVAL_DELAY - Static variable in class utility.SpriteChopper
-
The delay between each sprite change
- ANIM_CHOPPER_NUM_SPRITES - Static variable in class utility.SpriteChopper
-
The number of sprites in an animation
- ANIM_CHOPPER_REPETITION - Static variable in class utility.SpriteChopper
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_CHOPPER_START_INDEX - Static variable in class utility.SpriteChopper
-
The starting index of the animation
- ANIM_CRABMEAT_FILENAME_POSTFIX - Static variable in class utility.SpriteCrabmeat
-
The sprite filename suffix
- ANIM_CRABMEAT_FILENAME_PREFIX - Static variable in class utility.SpriteCrabmeat
-
The sprite filename prefix
- ANIM_CRABMEAT_ID - Static variable in class utility.SpriteCrabmeat
-
The animation number ID
- ANIM_CRABMEAT_INTERVAL_DELAY - Static variable in class utility.SpriteCrabmeat
-
The delay between each sprite change
- ANIM_CRABMEAT_NUM_SPRITES - Static variable in class utility.SpriteCrabmeat
-
The number of sprites in an animation
- ANIM_CRABMEAT_REPETITION - Static variable in class utility.SpriteCrabmeat
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_CRABMEAT_START_INDEX - Static variable in class utility.SpriteCrabmeat
-
The starting index of the animation
- ANIM_MOTORBUG_FILENAME_POSTFIX - Static variable in class utility.SpriteMotorbug
-
The sprite filename suffix
- ANIM_MOTORBUG_FILENAME_PREFIX - Static variable in class utility.SpriteMotorbug
-
The sprite filename prefix
- ANIM_MOTORBUG_ID - Static variable in class utility.SpriteMotorbug
-
The animation number ID
- ANIM_MOTORBUG_INTERVAL_DELAY - Static variable in class utility.SpriteMotorbug
-
The delay between each sprite change
- ANIM_MOTORBUG_NUM_SPRITES - Static variable in class utility.SpriteMotorbug
-
The number of sprites in an animation
- ANIM_MOTORBUG_REPETITION - Static variable in class utility.SpriteMotorbug
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_MOTORBUG_START_INDEX - Static variable in class utility.SpriteMotorbug
-
The starting index of the animation
- ANIM_SONIC_BALL_FILENAME_POSTFIX - Static variable in class utility.SpriteSonicBall
-
The sprite filename suffix
- ANIM_SONIC_BALL_FILENAME_PREFIX - Static variable in class utility.SpriteSonicBall
-
The sprite filename prefix
- ANIM_SONIC_BALL_ID - Static variable in class utility.SpriteSonicBall
-
The animation number ID
- ANIM_SONIC_BALL_INTERVAL_DELAY - Static variable in class utility.SpriteSonicBall
-
The delay between each sprite change
- ANIM_SONIC_BALL_NUM_SPRITES - Static variable in class utility.SpriteSonicBall
-
The number of sprites in an animation
- ANIM_SONIC_BALL_REPETITION - Static variable in class utility.SpriteSonicBall
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_SONIC_BALL_START_INDEX - Static variable in class utility.SpriteSonicBall
-
The starting index of the animation
- ANIM_SONIC_BARRIER_FILENAME_POSTFIX - Static variable in class utility.SpriteSonicBarrier
-
The sprite filename suffix
- ANIM_SONIC_BARRIER_FILENAME_PREFIX - Static variable in class utility.SpriteSonicBarrier
-
The sprite filename prefix
- ANIM_SONIC_BARRIER_ID - Static variable in class utility.SpriteSonicBarrier
-
The animation number ID
- ANIM_SONIC_BARRIER_INTERVAL_DELAY - Static variable in class utility.SpriteSonicBarrier
-
The delay between each sprite change
- ANIM_SONIC_BARRIER_NUM_SPRITES - Static variable in class utility.SpriteSonicBarrier
-
The number of sprites in an animation
- ANIM_SONIC_BARRIER_REPETITION - Static variable in class utility.SpriteSonicBarrier
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_SONIC_BARRIER_START_INDEX - Static variable in class utility.SpriteSonicBarrier
-
The starting index of the animation
- ANIM_SONIC_END_FILENAME_POSTFIX - Static variable in class utility.SpriteSonicEnd
-
The sprite filename suffix
- ANIM_SONIC_END_FILENAME_PREFIX - Static variable in class utility.SpriteSonicEnd
-
The sprite filename prefix
- ANIM_SONIC_END_ID - Static variable in class utility.SpriteSonicEnd
-
The animation number ID
- ANIM_SONIC_END_INTERVAL_DELAY - Static variable in class utility.SpriteSonicEnd
-
The delay between each sprite change
- ANIM_SONIC_END_NUM_SPRITES - Static variable in class utility.SpriteSonicEnd
-
The number of sprites in an animation
- ANIM_SONIC_END_REPETITION - Static variable in class utility.SpriteSonicEnd
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_SONIC_END_START_INDEX - Static variable in class utility.SpriteSonicEnd
-
The starting index of the animation
- ANIM_SONIC_IDLE_FILENAME_POSTFIX - Static variable in class utility.SpriteSonicIdle
-
The sprite filename suffix
- ANIM_SONIC_IDLE_FILENAME_PREFIX - Static variable in class utility.SpriteSonicIdle
-
The sprite filename prefix
- ANIM_SONIC_IDLE_ID - Static variable in class utility.SpriteSonicIdle
-
The animation number ID
- ANIM_SONIC_IDLE_INTERVAL_DELAY - Static variable in class utility.SpriteSonicIdle
-
The delay between each sprite change
- ANIM_SONIC_IDLE_NUM_SPRITES - Static variable in class utility.SpriteSonicIdle
-
The number of sprites in an animation
- ANIM_SONIC_IDLE_REPETITION - Static variable in class utility.SpriteSonicIdle
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_SONIC_IDLE_START_INDEX - Static variable in class utility.SpriteSonicIdle
-
The starting index of the animation
- ANIM_SONIC_JUMPING_FILENAME_POSTFIX - Static variable in class utility.SpriteSonicJump
-
The sprite filename suffix
- ANIM_SONIC_JUMPING_FILENAME_PREFIX - Static variable in class utility.SpriteSonicJump
-
The sprite filename prefix
- ANIM_SONIC_JUMPING_ID - Static variable in class utility.SpriteSonicJump
-
The animation number ID
- ANIM_SONIC_JUMPING_INTERVAL_DELAY - Static variable in class utility.SpriteSonicJump
-
The delay between each sprite change
- ANIM_SONIC_JUMPING_NUM_SPRITES - Static variable in class utility.SpriteSonicJump
-
The number of sprites in an animation
- ANIM_SONIC_JUMPING_REPETITION - Static variable in class utility.SpriteSonicJump
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_SONIC_JUMPING_START_INDEX - Static variable in class utility.SpriteSonicJump
-
The starting index of the animation
- ANIM_SONIC_RING_FILENAME_POSTFIX - Static variable in class utility.SpriteRing
-
The sprite filename suffix
- ANIM_SONIC_RING_FILENAME_PREFIX - Static variable in class utility.SpriteRing
-
The sprite filename prefix
- ANIM_SONIC_RING_ID - Static variable in class utility.SpriteRing
-
The animation number ID
- ANIM_SONIC_RING_INTERVAL_DELAY - Static variable in class utility.SpriteRing
-
The delay between each sprite change
- ANIM_SONIC_RING_NUM_SPRITES - Static variable in class utility.SpriteRing
-
The number of sprites in an animation
- ANIM_SONIC_RING_REPETITION - Static variable in class utility.SpriteRing
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_SONIC_RING_START_INDEX - Static variable in class utility.SpriteRing
-
The starting index of the animation
- ANIM_SONIC_RUNNING_FILENAME_POSTFIX - Static variable in class utility.SpriteSonicRun
-
The sprite filename suffix
- ANIM_SONIC_RUNNING_FILENAME_PREFIX - Static variable in class utility.SpriteSonicRun
-
The sprite filename prefix
- ANIM_SONIC_RUNNING_ID - Static variable in class utility.SpriteSonicRun
-
The animation number ID
- ANIM_SONIC_RUNNING_INTERVAL_DELAY - Static variable in class utility.SpriteSonicRun
-
The delay between each sprite change
- ANIM_SONIC_RUNNING_NUM_SPRITES - Static variable in class utility.SpriteSonicRun
-
The number of sprites in an animation
- ANIM_SONIC_RUNNING_REPETITION - Static variable in class utility.SpriteSonicRun
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_SONIC_RUNNING_START_INDEX - Static variable in class utility.SpriteSonicRun
-
The starting index of the animation
- ANIM_SONIC_SPRING_FILENAME_POSTFIX - Static variable in class utility.SpriteSonicSpring
-
The sprite filename suffix
- ANIM_SONIC_SPRING_FILENAME_PREFIX - Static variable in class utility.SpriteSonicSpring
-
The sprite filename prefix
- ANIM_SONIC_SPRING_ID - Static variable in class utility.SpriteSonicSpring
-
The animation number ID
- ANIM_SONIC_SPRING_INTERVAL_DELAY - Static variable in class utility.SpriteSonicSpring
-
The delay between each sprite change
- ANIM_SONIC_SPRING_NUM_SPRITES - Static variable in class utility.SpriteSonicSpring
-
The number of sprites in an animation
- ANIM_SONIC_SPRING_REPETITION - Static variable in class utility.SpriteSonicSpring
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_SONIC_SPRING_START_INDEX - Static variable in class utility.SpriteSonicSpring
-
The starting index of the animation
- ANIM_SONIC_TOOK_DAMAGE_FILENAME_POSTFIX - Static variable in class utility.SpriteSonicDamage
-
The sprite filename suffix
- ANIM_SONIC_TOOK_DAMAGE_FILENAME_PREFIX - Static variable in class utility.SpriteSonicDamage
-
The sprite filename prefix
- ANIM_SONIC_TOOK_DAMAGE_ID - Static variable in class utility.SpriteSonicDamage
-
The animation number ID
- ANIM_SONIC_TOOK_DAMAGE_INTERVAL_DELAY - Static variable in class utility.SpriteSonicDamage
-
The delay between each sprite change
- ANIM_SONIC_TOOK_DAMAGE_NUM_SPRITES - Static variable in class utility.SpriteSonicDamage
-
The number of sprites in an animation
- ANIM_SONIC_TOOK_DAMAGE_REPETITION - Static variable in class utility.SpriteSonicDamage
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_SONIC_TOOK_DAMAGE_START_INDEX - Static variable in class utility.SpriteSonicDamage
-
The starting index of the animation
- ANIM_SONIC_WALKING_FILENAME_POSTFIX - Static variable in class utility.SpriteSonicWalk
-
The sprite filename suffix
- ANIM_SONIC_WALKING_FILENAME_PREFIX - Static variable in class utility.SpriteSonicWalk
-
The sprite filename prefix
- ANIM_SONIC_WALKING_ID - Static variable in class utility.SpriteSonicWalk
-
The animation number ID
- ANIM_SONIC_WALKING_INTERVAL_DELAY - Static variable in class utility.SpriteSonicWalk
-
The delay between each sprite change
- ANIM_SONIC_WALKING_NUM_SPRITES - Static variable in class utility.SpriteSonicWalk
-
The number of sprites in an animation
- ANIM_SONIC_WALKING_REPETITION - Static variable in class utility.SpriteSonicWalk
-
Identifies if the animation should be repeated after reaching the final index
- ANIM_SONIC_WALKING_START_INDEX - Static variable in class utility.SpriteSonicWalk
-
The starting index of the animation
- Animation - Class in utility
-
Used to handle sprite files to create an animation
- Animation() - Constructor for class utility.Animation
-
The default constructor of the class
- Animation(GameObject, Sprite) - Constructor for class utility.Animation
-
The general constructor of the class used to create a new animation with the given parameters
- animationID - Variable in class utility.Sprite
-
The animation number ID
- animations - Variable in class utility.ImageManager
-
Stores all of the sprites used in the game
- BACKGROUND_MUSIC - Static variable in class utility.Sound
-
The filename for the background music
- BADNIK_BOUNCE_Y_SPEED - Static variable in class gameObject.Sonic
-
Sonic's starting y speed when bouncing off a Badnik
- BADNIK_MOB - Static variable in class general.Section
-
Detected a Badnik dyrubg color detection
- Barrier - Class in gameObject
-
Represents the barrier stage feature which stops Sonic from passing through
- Barrier() - Constructor for class gameObject.Barrier
-
The default constructor
- Barrier(double, double, double, double, boolean) - Constructor for class gameObject.Barrier
-
The general constructor used to create a barrier
- bgMusicClip - Variable in class utility.HandleSoundFx
-
The background music clip
- BLACK_IMAGE_FILENAME - Static variable in class general.MapScreen
-
The filename of the black screen
- BLACK_LOAD_TIME - Static variable in class utility.SplashScreen
-
The delay for the black screen transition
- blackScreen - Static variable in class general.MapScreen
-
Stores the black screen
- board - Variable in class gameObject.Sonic
-
An instance of the Board object
- Board - Class in general
-
Handles all the methods and objects in the game on the client side
- Board() - Constructor for class general.Board
-
The default constructor
- Board(Camera) - Constructor for class general.Board
-
The general constructor used to create the board
- board - Static variable in class general.Main
-
The board (map) of the game
- BOMB_H - Static variable in class gameObject.BuzzbomberBomb
-
The height of the bomb
- BOMB_W - Static variable in class gameObject.BuzzbomberBomb
-
The width of the bomb
- BOMB_Y_RANGE - Static variable in class gameObject.BuzzbomberBomb
-
The max y range the bomb can travel from its spawning position
- BREAK_FX - Static variable in class utility.Sound
-
The filename for the breaking object sound effect
- brokeObject - Variable in class gameObject.Sonic
-
Identifies if Sonic broke/killed a game object
- btnLogin - Static variable in class general.LoginPanel
-
A button to send the login information
- BUTTON_H - Static variable in class general.ControlScreen
-
The height of the button to return to the menu screen
- BUTTON_H - Static variable in class general.DeathScreen
-
The height of the buttons on the screen
- BUTTON_H - Static variable in class general.EndCreditScreen
-
The height of the button to return to the end screen
- BUTTON_H - Static variable in class general.EndScreen
-
The height of the buttons on the screen
- BUTTON_H - Static variable in class general.Menu
-
The height of the buttons on the screen
- BUTTON_H - Static variable in class general.ShopImagePanel
-
The height of the buy button
- BUTTON_H - Static variable in class general.ShopPanel
-
The height of the buy button
- BUTTON_W - Static variable in class general.ControlScreen
-
The width of the button to return to the menu screen
- BUTTON_W - Static variable in class general.DeathScreen
-
The width of the buttons on the screen
- BUTTON_W - Static variable in class general.EndCreditScreen
-
The width of the button to return to the end screen
- BUTTON_W - Static variable in class general.EndScreen
-
The width of the buttons on the screen
- BUTTON_W - Static variable in class general.Menu
-
The width of the buttons on the screen
- BUTTON_W - Static variable in class general.ShopImagePanel
-
The width of the buy button
- BUTTON_W - Static variable in class general.ShopPanel
-
The width of the buy button
- BUTTON_X - Static variable in class general.ControlScreen
-
The x position of the button to return to the menu screen
- BUTTON_X - Static variable in class general.DeathScreen
-
The x position of the buttons on the screen
- BUTTON_X - Static variable in class general.EndCreditScreen
-
The x position of the button to return to the end screen
- BUTTON_X - Static variable in class general.EndScreen
-
The x position of the buttons on the screen
- BUTTON_X - Static variable in class general.Menu
-
The x positions of the buttons
- BUTTON_X - Static variable in class general.ShopImagePanel
-
The x position of the buy button
- BUTTON_Y - Static variable in class general.ControlScreen
-
The y position of the button to return to the menu screen
- BUTTON_Y - Static variable in class general.EndCreditScreen
-
The y position of the button to return to the end screen
- BUTTON_Y - Static variable in class general.ShopImagePanel
-
The y position of the buy button
- buyBtnClicked - Variable in class general.ShopImagePanel
-
Identifies if the buy button has been clicked on
- buyButton - Variable in class general.ShopPanel
-
The button to buy an item
- buyItem() - Method in class general.ShopImagePanel
-
Allows players to buy from the shop panel with a 2-step process
- checking if the inventory has space
- buying the item if the inventory has space
- buyItem() - Method in class general.ShopPanel
-
Describes the protocol for buying an item from the shop panel
- Buzzbomber - Class in gameObject
-
Represents the unit, Buzzbomber, which attacks Sonic
- Buzzbomber() - Constructor for class gameObject.Buzzbomber
-
The default constructor
- Buzzbomber(double, double, int, int, double, double, double, double, ImageManager) - Constructor for class gameObject.Buzzbomber
-
The general constructor used to create the Buzzbomber
- BuzzbomberBomb - Class in gameObject
-
Represents the projectile the unit, Buzzbomber, fires
- BuzzbomberBomb() - Constructor for class gameObject.BuzzbomberBomb
-
The default constructor
- BuzzbomberBomb(double, double, int, int, double, double, double, double, Buzzbomber) - Constructor for class gameObject.BuzzbomberBomb
-
The general constructor used to create the bomb
- calculateAngle(double, double[], double[]) - Method in class gameObject.StationaryPlatform
-
Calculates the angle of the slope of a Bezier curve at a certain point
- calculateT(GameObject, double[], int) - Method in class gameObject.StationaryPlatform
-
Calculates the value of 't' in a Bezier curve
't' is the independent variable of the Bezier curve equation that ranges from 0-1
- calculateTimeBonus(int) - Method in class general.EndScreen
-
Calculating the time bonus
- camera - Variable in class gameObject.Sonic
-
An instance of the Camera object
- Camera - Class in general
-
Represents the camera which follows Sonic
- Camera() - Constructor for class general.Camera
-
The default constructor
- Camera(double, double, Main) - Constructor for class general.Camera
-
The general constructor used to create the camera
- camera - Static variable in class general.Main
-
The camera that follows Sonic
- CASH_REGISTER_FX - Static variable in class utility.Sound
-
The filename for the cash register sound effect
- changeCurSection(int) - Method in class general.Board
-
Changes the current section when Sonic moves to another section
- changeXDir() - Method in class gameObject.GameObject
-
changes the xDir of the game object
- changeYDir() - Method in class gameObject.GameObject
-
changes the yDir bof the game object
- CHAT_PANEL_ON - Static variable in class general.Main
-
Global flag to turn the chat panel on/off
- ChatPanel - Class in general
-
Represents the chat panel which players can use to communicate with other players
- ChatPanel() - Constructor for class general.ChatPanel
-
The default constructor used to create the chat panel
- chatPanel - Static variable in class general.Main
-
The chat panel
- Checkpoint - Class in gameObject
-
Reprents the checkpoint prop which updates Sonic's spawning position
- Checkpoint() - Constructor for class gameObject.Checkpoint
-
The default constructor
- Checkpoint(double, double, double, double) - Constructor for class gameObject.Checkpoint
-
The general constructor which creates the checkpoint
- CHECKPOINT_FX - Static variable in class utility.Sound
-
The filename for the checkpoint sound effect
- checkpointFxOn - Variable in class gameObject.Sonic
-
Identifies if the checkpoint sound effect is on
- Chopper - Class in gameObject
-
Represents the Chopper unit which attacks Sonic
- Chopper() - Constructor for class gameObject.Chopper
-
The default constructor
- Chopper(double, double, int, int, double, double, double, double, ImageManager) - Constructor for class gameObject.Chopper
-
The general constructor used to create the Chopper
- clearCurStage() - Method in class general.Board
-
Removing all the game objects from the game
- col - Variable in class general.InventoryImagePanel.SlotPos
-
The column of the slot
- col - Variable in class general.ShopImagePanel.SlotPos
-
- COL_SIZE - Static variable in class general.InventoryImagePanel
-
The number of columns in the inventory panel
- COL_SIZE - Static variable in class general.ShopImagePanel
-
The number of columns in the shop panel
- collidedWithStageFeature - Variable in class gameObject.OtherSonic
-
Identifies if OtherSonic collided with a stage feature
- collisionDetection(GameObject, boolean, boolean, boolean, boolean) - Method in class general.Board
-
Handling the collision detection within the 3 sections that surround the game Object
- collisionDetection(GameObject, boolean, boolean, boolean, boolean) - Method in class general.Section
-
Handling the collision detection for the current section
- COLUMN_1_X - Static variable in class general.ControlScreen
-
The first column of the screen to present the controls
- COLUMN_2_X - Static variable in class general.ControlScreen
-
The second column of the screen to present the controls
- CONTINUE_OFFSET_X - Static variable in class general.DeathScreen
-
The y offset for the text in the continue button
- CONTINUE_Y - Static variable in class general.DeathScreen
-
The y position of the continue button
- CONTROL_H - Static variable in class general.ControlScreen
-
The height of the screen
- CONTROL_TITLE_OFFSET_Y - Static variable in class general.ControlScreen
-
The y offset for the title of the screen
- CONTROL_W - Static variable in class general.ControlScreen
-
The width of the screen
- CONTROL_X - Static variable in class general.ControlScreen
-
The x position for the screen on the JPanel window
- CONTROL_Y - Static variable in class general.ControlScreen
-
The y position for the screen on the JPanel window
- CONTROLS_OFFSET_X - Static variable in class general.Menu
-
The x offset of the text inside of the controls button
- CONTROLS_Y - Static variable in class general.Menu
-
The y position of the controls button
- ControlScreen - Class in general
-
Represents the Controls screen from the menu screen
- ControlScreen() - Constructor for class general.ControlScreen
-
The default constructor
- controlScreen - Variable in class general.Main
-
The controls screen
- Crabmeat - Class in gameObject
-
Represents the Crabmeat unit which attacks Sonic
- Crabmeat() - Constructor for class gameObject.Crabmeat
-
The default constructor
- Crabmeat(double, double, int, int, double, double, double, double, ImageManager) - Constructor for class gameObject.Crabmeat
-
The general constructor used to create the Crabmeat
- CREDIT_OFFSET_X - Static variable in class general.EndScreen
-
The x offset for text in the end credit button
- CREDIT_Y - Static variable in class general.EndScreen
-
The y position of the end credit button on the screen
- curAnimation - Variable in class gameObject.Buzzbomber
-
The current animation of the Buzzbomber
- curAnimation - Variable in class gameObject.Chopper
-
The current animation
- curAnimation - Variable in class gameObject.Crabmeat
-
The current animation of the Crabmeat
- curAnimation - Variable in class gameObject.Motorbug
-
Stores the current animations
- curAnimation - Variable in class gameObject.Sonic
-
The current animation
- curFrames - Static variable in class general.Main
-
Counts the current frames
- curMapImages - Variable in class general.Board
-
Stores the background images
- curMapMaskImages - Variable in class general.Board
-
Stores the mask images
- curMinutes - Static variable in class general.Main
-
Displays the minutes in the HUD
- currentStage - Static variable in class general.Main
-
The current stage Sonic is on
- curSeconds - Static variable in class general.Main
-
Stores the seconds that passed during the game
- curSeconds1 - Static variable in class general.Main
-
Displays the tens digit for the seconds in the HUD
- curSeconds2 - Static variable in class general.Main
-
Displays the ones digit for the seconds in the HUD
- curSection - Variable in class general.Board
-
Stores the current section
- curSectionStartX - Variable in class general.Board
-
Stores the starting x coordinates of each map section
- curSectionStartY - Variable in class general.Board
-
Stores the starting y coordinates of each map section
- curSonic - Variable in class general.EndScreen
-
An instance of the Sonic class
- curSonic - Variable in class general.Hud
-
An instance of the Sonic object
- curSpriteIndex - Variable in class utility.Animation
-
The index of the current sprite being shown within an animation
- curStageFeature - Variable in class gameObject.Sonic
-
The stage feature Sonic is currently colliding with
- curStatus - Variable in class gameObject.OtherSonic
-
The current status of the Ghost Recon
- CURVE_X1 - Static variable in class gameObject.CurvedPlatform
-
Predetermined x coordinates of Bezier Curve controls points for curve 1
- CURVE_X2 - Static variable in class gameObject.CurvedPlatform
-
Predetermined x coordinates of Bezier Curve controls points for curve 2
- CURVE_X3 - Static variable in class gameObject.CurvedPlatform
-
Predetermined x coordinates of Bezier Curve controls points for curve 3
- CURVE_X4 - Static variable in class gameObject.CurvedPlatform
-
Predetermined x coordinates of Bezier Curve controls points for curve 4
- CURVE_X5 - Static variable in class gameObject.CurvedPlatform
-
Predetermined x coordinates of Bezier Curve controls points for curve 5
- CurvedPlatform - Class in gameObject
-
Represents the stage features where Bezier Curves were used
- CurvedPlatform() - Constructor for class gameObject.CurvedPlatform
-
The default constructor
- CurvedPlatform(double, double, double, double, Section, int) - Constructor for class gameObject.CurvedPlatform
-
The general constructor used to create the curved platform
- curveId - Variable in class gameObject.CurvedPlatform
-
Stores the ID of the curve
- curveX1 - Variable in class gameObject.CurvedPlatform
-
Stores x coordinates of Bezier Curve control points for curve 1
- curveX2 - Variable in class gameObject.CurvedPlatform
-
Stores x coordinates of Bezier Curve control points for curve 2
- curveX3 - Variable in class gameObject.CurvedPlatform
-
Stores x coordinates of Bezier Curve control points for curve 3
- curveX4 - Variable in class gameObject.CurvedPlatform
-
Stores x coordinates of Bezier Curve control points for curve 4
- curveX5 - Variable in class gameObject.CurvedPlatform
-
Stores x coordinates of Bezier Curve control points for curve 5
- curveY1 - Variable in class gameObject.CurvedPlatform
-
Stores y coordinates of Bezier Curve control points for curve 1
- curveY2 - Variable in class gameObject.CurvedPlatform
-
Stores y coordinates of Bezier Curve control points for curve 2
- curveY3 - Variable in class gameObject.CurvedPlatform
-
Stores y coordinates of Bezier Curve control points for curve 3
- curveY4 - Variable in class gameObject.CurvedPlatform
-
Stores y coordinates of Bezier Curve control points for curve 4
- curveY5 - Variable in class gameObject.CurvedPlatform
-
Stores y coordinates of Bezier Curve control points for curve 5
- g - Static variable in class general.Main
-
Stores the instance of the Graphics object
- gameObject - package gameObject
-
Handles all of the game objects in the program
- GameObject - Class in gameObject
-
Represents all game objects
- GameObject() - Constructor for class gameObject.GameObject
-
The default constructor
- GameObject(double, double, double, double, int, int) - Constructor for class gameObject.GameObject
-
The general constructor used to create the game object
- gameObjects - Variable in class general.Section
-
Stores all the game objects in the current section
- gameOver - Static variable in class general.Main
-
Identifies if the game has ended
- gamePanel - Static variable in class general.Main
-
The window that shows the game
- gameStart - Static variable in class general.Main
-
Identifies if the game has started
- GameState - Enum in general
-
Stores constants for the game states
- gameState - Static variable in class general.Main
-
Stores the current game state
- general - package general
-
Handles the game frameworks and windows
- getBoard() - Method in class general.Main
-
Gets the board object
- getBottomContactLine() - Method in class gameObject.Barrier
-
Gets the bottom contact line of the barrier's hitbox
- getBottomContactLine() - Method in class gameObject.LoopPlatform
-
Gets the bottom contact line of the loop's reference block's hitbox
- getBottomContactLine() - Method in class gameObject.Ring
-
Gets the bottom contact line of the ring's hitbox
- getBottomContactLine() - Method in class gameObject.Sonic
-
Gets the bottom contact line of Sonic's hitbox
Uses different coordinates if on the loop-the-loop to rotate the hitbox
- getBottomContactLine() - Method in class gameObject.Unit
-
Gets the bottom contact line of the unit's hitbox
- getBoundary() - Method in class gameObject.Unit
-
Gets the rectangular boundary of the unit's hitbox
- getCenterHorizontalContactLine() - Method in class gameObject.Unit
-
Gets the horizontal, center contact line of the unit's hitbox
- getCenterVerticalContactLine() - Method in class gameObject.Unit
-
Gets the vertical, center contact line of the unit's hitbox
- getContactLine() - Method in class gameObject.Barrier
-
Gets the left contact line of the barrier's hitbox
- getContactLine() - Method in class gameObject.Checkpoint
-
Gets the top contact line of the checkpoint's hitbox
- getContactLine() - Method in class gameObject.CurvedPlatform
-
Empty function body since the function is not being used
- getContactLine() - Method in class gameObject.EndMark
-
Gets the right contact line of the endmark's hitbox
- getContactLine() - Method in class gameObject.GameObject
-
Represents a collision detection line for game objects
- getContactLine() - Method in class gameObject.HorzMovingRect
-
Gets the top contact line of the platforms's hitbox
- getContactLine() - Method in class gameObject.InclinePlatform
-
Gets the slanted contact line of the platforms's hitbox
- getContactLine() - Method in class gameObject.LoopPlatform
-
Gets the top contact line of the loop's reference block's hitbox
- getContactLine() - Method in class gameObject.MovingPlatform
-
Represents a collision detection line for moving platforms
- getContactLine() - Method in class gameObject.Prop
-
Represents a collision detection line for props
- getContactLine() - Method in class gameObject.RectPlatform
-
Gets the top contact line of the platform's hitbox
- getContactLine() - Method in class gameObject.Ring
-
Gets the top contact line of the ring's hitbox
- getContactLine() - Method in class gameObject.SCurvePlatform
-
Gets the left contact line of the reference block's hitbox
- getContactLine() - Method in class gameObject.Sonic
-
Gets the top contact line of Sonic's hitbox
Uses different coordinates if on the loop-the-loop to rotate the hitbox
- getContactLine() - Method in class gameObject.Spike
-
Gets the left, slanted contact line of the spike's hitbox
- getContactLine() - Method in class gameObject.Spring
-
Gets the top contact line of the spring's hitbox
- getContactLine() - Method in class gameObject.StageFeature
-
Represents a collision detection line for stage features
- getContactLine() - Method in class gameObject.StationaryPlatform
-
Represents a collision detection line for the platform
- getContactLine() - Method in class gameObject.Unit
-
Gets the top contact line of the unit's hitbox
- getContactLine() - Method in class gameObject.VertMovingRect
-
Gets the top contact line of the platforms's hitbox
- getCurrentMyInfo() - Method in class gameObject.Sonic
-
- getCurSection() - Method in class general.Board
-
Gets the curent section that Sonic is in
- getCurSectionIndex() - Method in class general.Board
-
Gets the index which holds the current Section
- getCurStageFeature() - Method in class gameObject.Sonic
-
Gets the current stage feature Sonic is on
- getCurveX() - Method in class gameObject.CurvedPlatform
-
Gets the the array storing the x coordinates of the control points of a curve
- getCurveY() - Method in class gameObject.CurvedPlatform
-
Gets the the array storing the y coordinates of the control points of a curve
- getCurveYBase(Unit) - Method in class gameObject.CurvedPlatform
-
Gets the y coordinate of the curve where the gameObject's x coordinate is located
- getGameObject(int) - Method in class general.Section
-
Gets the game object
- getLeftContactLine() - Method in class gameObject.Checkpoint
-
Gets the left contact line of the checkpoint's hitbox
- getLeftContactLine() - Method in class gameObject.EndMark
-
Gets the left contact line of the endmark's hitbox
- getLeftContactLine() - Method in class gameObject.LoopPlatform
-
Gets the left contact line of the loop's reference block's hitbox
- getLeftContactLine() - Method in class gameObject.Ring
-
Gets the left contact line of the ring's hitbox
- getLeftContactLine() - Method in class gameObject.Sonic
-
Gets the left contact line of Sonic's hitbox
Uses different coordinates if on the loop-the-loop to rotate the hitbox
- getLeftContactLine() - Method in class gameObject.Unit
-
Gets the left contact line of the unit's hitbox
- getLoopX() - Method in class gameObject.LoopPlatform
-
Gets the the array storing the x coordinates of the control points of a curve
- getLoopY() - Method in class gameObject.LoopPlatform
-
Gets the the array storing the y coordinates of the control points of a curve
- getLoopYBase(Unit) - Method in class gameObject.LoopPlatform
-
Gets the y coordinate of the first loop segment where the gameObject's x coordinate is located
- getRightContactLine() - Method in class gameObject.Barrier
-
Gets the right contact line of the barrier's hitbox
- getRightContactLine() - Method in class gameObject.Checkpoint
-
Gets the right contact line of the checkpoint's hitbox
- getRightContactLine() - Method in class gameObject.LoopPlatform
-
Gets the right contact line of the loop's reference block's hitbox
- getRightContactLine() - Method in class gameObject.Ring
-
Gets the right contact line of the ring's hitbox
- getRightContactLine() - Method in class gameObject.Sonic
-
Gets the right contact line of Sonic's hitbox
Uses different coordinates if on the loop-the-loop to rotate the hitbox
- getRightContactLine() - Method in class gameObject.Spike
-
Gets the right, slanted contact line of the spike's hitbox
- getRightContactLine() - Method in class gameObject.Unit
-
Gets the right contact line of the unit's hitbox
- getSCurveX() - Method in class gameObject.SCurvePlatform
-
Gets the the array storing the x coordinates of the control points of a curve
- getSCurveY() - Method in class gameObject.SCurvePlatform
-
Gets the the array storing the y coordinates of the control points of a curve
- getSlotPos(int, int) - Method in class general.InventoryImagePanel
-
Gets the slot that was clicked on by the player
- getSlotPos(int, int) - Method in class general.ShopImagePanel
-
Gets the slot that was clicked on by the player
- getSonic() - Method in class general.Board
-
Gets the GameObject Sonic
- getTopContactLine() - Method in class gameObject.Barrier
-
Gets the top contact line of the barrier's hitbox
- GHOST_RECON_AIRBORNE - Static variable in class gameObject.OtherSonic
-
Represents the state where OtherSonic is airborne
- GHOST_RECON_CHECKING_FOR_IDLING - Static variable in class gameObject.OtherSonic
-
Represents the state where OtherSonic is checking if the other player is idling
- GHOST_RECON_NONE - Static variable in class gameObject.OtherSonic
-
Represents the state where Ghost Recon has not started
- GHOST_RECON_RECOVERING_AFTER_LAG_SPIKE_WHILE_ON_GROUND - Static variable in class gameObject.OtherSonic
-
Represents the state where OtherSonic is recovering while on the ground
- GHOST_RECON_RECOVERING_AFTER_LAG_SPIME_WHILE_AIRBORNE - Static variable in class gameObject.OtherSonic
-
Represents the state where OtherSonic is recovering while airborne
- GHOST_RECON_RECOVERY_RATE - Static variable in class gameObject.OtherSonic
-
The rate OtherSonic recovers its x and y position
- GHOST_RECON_START - Static variable in class gameObject.OtherSonic
-
Represents the state where Ghost Recon has started
- GHOST_RECON_TOL_IN_MILLI - Static variable in class gameObject.OtherSonic
-
The maximum tolerable delay between sending and receiving packets in milliseconds
- ghostRecon() - Method in class gameObject.OtherSonic
-
Ghost Recon is the programs attempt to predict and fix packet loss errors from the server
- gKeyPressed - Static variable in class utility.KeyboardInput
-
Toggle Hitboxes
- GRAVITY - Static variable in class gameObject.GameObject
-
The value of gravity in the game
- gravity - Variable in class gameObject.GameObject
-
Stores the value of gravity
- image - Variable in class gameObject.BuzzbomberBomb
-
Stores the image of the bomb
- image - Variable in class gameObject.HorzMovingRect
-
Stores the image
- image - Variable in class gameObject.VertMovingRect
-
Stores the image
- image - Variable in class general.Hud
-
Stores the image of the Sonic icon
- image - Variable in class general.InventoryImagePanel
-
Stores the inventory panel image
- image - Variable in class general.Item
-
Stores the items image
- image - Variable in class general.ShopImagePanel
-
Stores the shop panel image
- IMAGE_BASE_PATH - Static variable in class general.Item
-
Stores the base path of the filenames for item images
- IMAGE_FILENAME - Static variable in class gameObject.BuzzbomberBomb
-
The filename of the image representing the bomb
- IMAGE_FILENAME - Static variable in class gameObject.HorzMovingRect
-
The filename of the image representing the platform
- IMAGE_FILENAME - Static variable in class gameObject.VertMovingRect
-
The filename of the image representing the platform
- IMAGE_FILENAME - Static variable in class general.Enderpearl
-
The item image filename
- IMAGE_FILENAME - Static variable in class general.Hud
-
The filename of the Sonic icon
- IMAGE_FILENAME - Static variable in class general.InventoryImagePanel
-
The filename of the inventory panel image
- IMAGE_FILENAME - Static variable in class general.LifeMushroom
-
The item image filename
- IMAGE_FILENAME - Static variable in class general.ShopImagePanel
-
The filename of the shop panel image
- IMAGE_FILENAME - Static variable in class general.SpeedPotion
-
The item image filename
- IMAGE_SHRINKING_SCALE - Static variable in class general.ShopImagePanel
-
The item image shrinking scale
- imageFilename - Variable in class general.InventoryImagePanel
-
Stores the filename of the inventory panel image
- imageFilename - Variable in class general.Item
-
The item image filename
- imageFilename - Variable in class general.ShopImagePanel
-
Stores the filename of the shop panel image
- imageManager - Variable in class gameObject.Buzzbomber
-
Stores all of the sprite animations
- imageManager - Variable in class gameObject.Sonic
-
Stores all of the sprite animations
- imageManager - Variable in class general.Board
-
Stores all of the sprite animations
- ImageManager - Class in utility
-
Manages all of the sprites
- ImageManager() - Constructor for class utility.ImageManager
-
The default constructor used to create the manager
- ImageModifier - Class in utility
-
Modifies an image to create a fade effect
- ImageModifier() - Constructor for class utility.ImageModifier
-
The default constructor
- inBallForm - Variable in class gameObject.Sonic
-
Identifies is Sonic is in the spin ball form for sound effects
- INC_SCORE - Static variable in class gameObject.Sonic
-
The amount to increase the score
- InclinePlatform - Class in gameObject
-
Represents the platforms that are slanted/inlined and in the form of a triangle
- InclinePlatform() - Constructor for class gameObject.InclinePlatform
-
The default constructor
- InclinePlatform(double, double, double, double, int) - Constructor for class gameObject.InclinePlatform
-
The general constructor used to create the inclined platform
- init() - Method in class general.Main
-
Initializes all instances
- INSTRUCTIOIN_MSG - Static variable in class general.TitleScreen
-
The instruction shown on the title screen
- INSTRUCTION_X - Static variable in class general.TitleScreen
-
The x position of the instruction
- INSTRUCTION_Y - Static variable in class general.TitleScreen
-
The y position of the instruction
- interact(GameObject) - Method in class gameObject.Barrier
-
Describes the interaction between the barrier and the object it is interacting with
- interact(GameObject) - Method in class gameObject.Buzzbomber
-
Describes the interaction between the Buzzbomber and the object it is interacting with
- interact(GameObject) - Method in class gameObject.BuzzbomberBomb
-
Describes the interaction between the bomb and the object it is interacting with
- interact(GameObject) - Method in class gameObject.Checkpoint
-
Describes the interaction between the checkpoint and the object it is interacting with
- interact(GameObject) - Method in class gameObject.Chopper
-
Describes the interaction between the Chopper and the object it is interacting with
- interact(GameObject) - Method in class gameObject.Crabmeat
-
Describes the interaction between the Crabmeat and the object it is interacting with
- interact(GameObject) - Method in class gameObject.CurvedPlatform
-
Describes the interaction between the curve and the object it is interacting with
- interact(GameObject) - Method in class gameObject.EndMark
-
Describes the interaction between the endmark and the object it is interacting with
- interact(GameObject) - Method in class gameObject.GameObject
-
Describes the interation between the game object and another game object
- interact(GameObject) - Method in class gameObject.HorzMovingRect
-
Describes the interaction between the platform and the object it is interacting with
- interact(GameObject) - Method in class gameObject.InclinePlatform
-
Describes the interaction between the platform and the object it is interacting with using the angle of the slanted contact line
- interact(GameObject) - Method in class gameObject.LoopPlatform
-
Describes the interaction between the loop and the object it is interacting with
- interact(GameObject) - Method in class gameObject.Motorbug
-
Describes the interaction between the Motorbug and the object it is interacting with
- interact(GameObject) - Method in class gameObject.MovingPlatform
-
Describes the interation between the moving platform and a game object
- interact(GameObject) - Method in class gameObject.Prop
-
Describes the interation between the prop and a game object
- interact(GameObject) - Method in class gameObject.RectPlatform
-
Describes the interaction between the platform and the object it is interacting with
- interact(GameObject) - Method in class gameObject.Ring
-
Describes the interaction between the ring and the object it is interacting with
- interact(GameObject) - Method in class gameObject.SCurvePlatform
-
Describes the interaction between the S-Curve and the object it is interacting with
- interact(GameObject) - Method in class gameObject.Sonic
-
- interact(GameObject) - Method in class gameObject.Spike
-
Describes the interaction between the spike and the object it is interacting with
- interact(GameObject) - Method in class gameObject.Spring
-
Describes the interaction between the spring and the object it is interacting with
- interact(GameObject) - Method in class gameObject.StageFeature
-
Describes the interation between the stage feature and another game object
- interact(GameObject) - Method in class gameObject.StationaryPlatform
-
Describes the interation between the platform and a game object
- interact(GameObject) - Method in class gameObject.Unit
-
Describes the interation between the unit and a game object
- interact(GameObject) - Method in class gameObject.VertMovingRect
-
Describes the interaction between the platform and the object it is interacting with
- interpolateX() - Method in class gameObject.OtherSonic
-
Interpolates OtherSonic's x position
- interpolateYDuringJump() - Method in class gameObject.OtherSonic
-
Interpolates OtherSonic's y position while airborne
- intervalDelay - Variable in class utility.Sprite
-
The delay between each sprite change
- intervalDelayCounter - Variable in class utility.Animation
-
Counts the delay between each sprite
- intervalMultiplayerInfo - Variable in class gameObject.OtherSonic
-
The time interval between sending and receiving a packet
- INV_H - Static variable in class general.InventoryImagePanel
-
The height of the inventory panel
- INV_IMAGE_PANEL_ON - Static variable in class general.Main
-
Global flag to turn the GUI inventory panel on/off
- INV_PANEL_ON - Static variable in class general.Main
-
Global flag to turn the text-based inventory panel panel on/off
- InventoryImagePanel - Class in general
-
Represents the GUI inventory panel used to store items for the player
- InventoryImagePanel() - Constructor for class general.InventoryImagePanel
-
The default constructor used to create the inventory panel
- InventoryImagePanel.SlotPos - Class in general
-
An inner class of the InventoryPanel class which represents the slots of the shop panel
- InventoryPanel - Class in general
-
Represents the text-based inventory panel that stores items a player has
- InventoryPanel() - Constructor for class general.InventoryPanel
-
The default constructor used to create the inventory panel
- invImagePanel - Static variable in class general.Main
-
The GUI inventory panel
- invPanel - Static variable in class general.Main
-
The text-based inventory panel
- isAirborne - Variable in class gameObject.OtherSonic
-
Identifies if OtherSonic is airborne
- isLoading - Static variable in class general.Main
-
Identifies if the game is loading
- isOneWay - Variable in class gameObject.Barrier
-
Identifies if Sonic can go through the barrier only in 1 direction
- isSwimming - Variable in class gameObject.Chopper
-
Identifies if the Chopper is moving
- isThisOtherSonic - Variable in class gameObject.Sonic
-
Identifies if the current Sonic object is the actual player or the image of another player
- Item - Class in general
-
Represents the items of the game
- Item() - Constructor for class general.Item
-
The default constructor
- Item(int, String, int, String) - Constructor for class general.Item
-
The general constructor used to create the item
- ITEM_NUM_ID - Static variable in class general.Enderpearl
-
The item number ID
- item_num_id - Variable in class general.Item
-
The item number ID
- ITEM_NUM_ID - Static variable in class general.LifeMushroom
-
The item number ID
- ITEM_NUM_ID - Static variable in class general.SpeedPotion
-
The item number ID
- itemPickedUp - Static variable in class general.Main
-
Stores the item has been picked up from the inventory panel
- itemPickedUpCol - Static variable in class general.Main
-
Stores the source slot col
- itemPickedUpFrom - Static variable in class general.Main
-
Stores the source slot number
- itemPickedUpRow - Static variable in class general.Main
-
Stores the source slot row
- items - Static variable in class general.Item
-
Stores all of the different items
- itemsIndexHandler - Variable in class general.ShopPanel
-
Stores all of the index of the items that were selected in the shop panel
- itemsList - Variable in class general.InventoryPanel
-
Shows the list
- itemsList - Variable in class general.ShopPanel
-
Shows the list
- LAND_ON_SPIKE_FX - Static variable in class utility.Sound
-
The filename for the spike sound effect
- landedOn - Variable in class gameObject.VertMovingRect
-
Identifies if Sonic has landed on this platform or not
- landingOnBarrier - Variable in class gameObject.Sonic
-
Identifies if Sonic is landing on top of a barrier
- landOnSpikeFxOn - Variable in class gameObject.Sonic
-
Identifies if the landed on spike sound effect is on
- lastMilliSecMultiplayerInfo - Variable in class gameObject.Sonic
-
The timestamp of the last sent multiplayer info packet
- lblPwd - Static variable in class general.LoginPanel
-
Lables password
- lblUserID - Static variable in class general.LoginPanel
-
Labels user ID
- levelCompleted - Variable in class general.Main
-
Identifies if a stage has been completed
- LifeMushroom - Class in general
-
Represents the Life Mushroom item that will give the player an extra life
- LifeMushroom() - Constructor for class general.LifeMushroom
-
The default constructor used to create the item
- listData - Static variable in class general.InventoryPanel
-
Stores the items in the list
- listData - Static variable in class general.ShopPanel
-
Stores the items in the list
- listSelectionListener - Variable in class general.InventoryPanel
-
An instance of the ListSelectionListener Object
- lives - Variable in class gameObject.Sonic
-
The number of lives Sonic currently has
- lKeyPressed - Static variable in class utility.KeyboardInput
-
Toggle artificial lag to test Ghost Recon
- loadCurStage(Camera) - Method in class general.Board
-
Loading all the components of the board
- loading(int) - Method in class utility.SplashScreen
-
Sets the loading time
- loadTime - Variable in class utility.SplashScreen
-
The transition counter
- login() - Method in class general.LoginPanel
-
Describes the logging-in protocol for users
- LOGIN_PANEL_ON - Static variable in class general.Main
-
Global flag to turn the login panel on/off
- LoginPanel - Class in general
-
Represents the login panel players use to log into the game
- LoginPanel() - Constructor for class general.LoginPanel
-
The default constructor used to create the login panel
- loginPanel - Static variable in class general.Main
-
The login panel
- loginSuccess - Static variable in class general.LoginPanel
-
Identifies if a login has been successful
- LOOP_X1 - Static variable in class gameObject.LoopPlatform
-
Predetermined x coordinates of Bezier Curve controls points for loop section 1
- LOOP_X2 - Static variable in class gameObject.LoopPlatform
-
Predetermined x coordinates of Bezier Curve controls points for loop section 2
- LOOP_X3 - Static variable in class gameObject.LoopPlatform
-
Predetermined x coordinates of Bezier Curve controls points for loop section 3
- LOOP_X4 - Static variable in class gameObject.LoopPlatform
-
Predetermined x coordinates of Bezier Curve controls points for loop section 4
- loopId - Variable in class gameObject.LoopPlatform
-
Stores the ID of the loop segment
- LoopPlatform - Class in gameObject
-
Represents the loop-the-loop platform of the map.
- LoopPlatform() - Constructor for class gameObject.LoopPlatform
-
The default constructor
- LoopPlatform(double, double, double, double, Section, int) - Constructor for class gameObject.LoopPlatform
-
The general constructor used to create the loop-the-loop
- loopX1 - Variable in class gameObject.LoopPlatform
-
Stores x coordinates of Bezier Curve control points for loop section 1
- loopX2 - Variable in class gameObject.LoopPlatform
-
Stores x coordinates of Bezier Curve control points for loop section 2
- loopX3 - Variable in class gameObject.LoopPlatform
-
Stores x coordinates of Bezier Curve control points for loop section 3
- loopX4 - Variable in class gameObject.LoopPlatform
-
Stores x coordinates of Bezier Curve control points for loop section 4
- loopY1 - Variable in class gameObject.LoopPlatform
-
Stores y coordinates of Bezier Curve control points for loop section 1
- loopY2 - Variable in class gameObject.LoopPlatform
-
Stores y coordinates of Bezier Curve control points for loop section 2
- loopY3 - Variable in class gameObject.LoopPlatform
-
Stores y coordinates of Bezier Curve control points for loop section 3
- loopY4 - Variable in class gameObject.LoopPlatform
-
Stores y coordinates of Bezier Curve control points for loop section 4
- LOSE_RINGS_FX - Static variable in class utility.Sound
-
The filename for the losing rings sound effect
- loseRingsFxOn - Variable in class gameObject.Sonic
-
Identifies if the losing rings sound effect is on
- LOSING_RINGS_AMOUNT - Static variable in class gameObject.Sonic
-
The amount of rings Sonic loses when taking damage
- main - Variable in class general.Camera
-
An instance of the Main object
- Main - Class in general
-
Represents the main/game class handling all features of the game
- Main() - Constructor for class general.Main
-
The default constructor used to create the main game handler
- main(String[]) - Static method in class general.Main
-
The program's entry point method
- MAIN_TEXT_X - Static variable in class general.EndCreditScreen
-
The x position of the main text on the screen
- MAP_1_IMAGE_FILENAMES - Static variable in class general.Stage
-
Stores the filenames of map sections
- MAP_1_MASK_IMAGE_FILENAMES - Static variable in class general.Stage
-
Stores filenames of masked map sections
- MAP_1_SECTION_START_X - Static variable in class general.Stage
-
Stores the starting x position of each map section
- MAP_1_SECTION_START_Y - Static variable in class general.Stage
-
Stores the starting y position of each map section
- MAP_SCREEN_IMAGE_FILENAME - Static variable in class general.MapScreen
-
The filename of the map (stage) screen
- MAP_SECTION_LOAD_TIME - Static variable in class utility.SplashScreen
-
The delay for the map (stage) screen transition
- mapImage - Variable in class general.Section
-
Stores the map image
- mapImageFilename - Variable in class general.Section
-
The filename of the image of the sections
- mapMaskImage - Variable in class general.Section
-
Stores the mask image
- mapMaskImageFilename - Variable in class general.Section
-
The filename of the image of the masked sections
- mapScreen - Variable in class general.Main
-
The map (stage) screen
- MapScreen - Class in general
-
Represents the screen displaying the map act right before the game begins
- MapScreen() - Constructor for class general.MapScreen
-
The default constructor
- mapScreen - Static variable in class general.MapScreen
-
Stores the map screen
- MAX_BALL_X_SPEED - Static variable in class gameObject.Sonic
-
Sonic's max x speed while in the spin ball form
- MAX_LIVES - Static variable in class gameObject.Sonic
-
Sonic's maximun number of lives
- MAX_RUNNING_X_SPEED - Static variable in class gameObject.Sonic
-
Sonic's max x speed while running
- MAX_S_CURVE_X_SPEED - Static variable in class gameObject.SCurvePlatform
-
The max x speed Sonic can have while in the S-Curves
- MAX_SKIP_COUNTER_LAG_SEND_PLAYER_INFO - Static variable in class gameObject.Sonic
-
The maxmimum number of frames to skip sending to the server to create an artificial client lag to test Ghost Recon
- MAX_SKIP_COUNTER_NON_LAG_SEND_PLAYER_INFO - Static variable in class gameObject.Sonic
-
The maxmimum number of frames to send to the server before skipping frames to avoid the artificial lag from continuously generating
- MAX_SWIM_UP_DELAY - Static variable in class gameObject.Chopper
-
The max delay of the Chopper before it moves up after reaching its lowest point
- MAX_X_RANGE - Static variable in class gameObject.Buzzbomber
-
The max x range the Buzzbomber can travel from its original x position
- MAX_X_RANGE - Static variable in class gameObject.Motorbug
-
The max x range the Motorbug can travel from its original x position
- MAX_Y_SPEED - Static variable in class gameObject.Chopper
-
The max y speed of the Chopper
- MAX_Y_SPEED - Static variable in class gameObject.Sonic
-
Sonic's max y speed
- maxXRange - Variable in class gameObject.Buzzbomber
-
Stores the max x range the Buzzbomber can travel from its original x position
- maxXRange - Variable in class gameObject.Motorbug
-
Stores the max x range
- menu - Variable in class general.Main
-
The menu screen
- Menu - Class in general
-
Represents the menu screen when esc is pressed
- Menu() - Constructor for class general.Menu
-
The default constructor
- message - Variable in class general.ChatPanel
-
The field to write messages
- messageField - Variable in class general.ChatPanel
-
The field to show sent messages
- MIN_SKIP_COUNTER_LAG_SEND_PLAYER_INFO - Static variable in class gameObject.Sonic
-
The minimum number of frames to skip sending to the server to create an artificial client lag to test Ghost Recon
- MIN_SKIP_COUNTER_NON_LAG_SEND_PLAYER_INFO - Static variable in class gameObject.Sonic
-
The minimum number of frames to send to the server before skipping frames to avoid the artificial lag from continuously generating
- MIN_X_SPEED - Static variable in class gameObject.LoopPlatform
-
The minimum x speed Sonic must have in order to go through the loop-the-loop
- minSpeedReached - Variable in class gameObject.Sonic
-
Identifies if Sonic has enough speed to go on the loop-the-loop
- Motorbug - Class in gameObject
-
Represents the Motorbug unit which attacks Sonic
- Motorbug() - Constructor for class gameObject.Motorbug
-
The default constructor
- Motorbug(double, double, int, int, double, double, double, double, ImageManager) - Constructor for class gameObject.Motorbug
-
The general constructor used to create the Motorbug
- mouseClicked(MouseEvent) - Method in class general.InventoryImagePanel
-
Invoked when a mouse button has been pressed AND released
- mouseClicked(MouseEvent) - Method in class general.ShopImagePanel
-
Invoked when a mouse button has been pressed AND released
- mouseClicked(MouseEvent) - Method in class utility.MouseInput
-
Invoked when a mouse button has been pressed AND released
- mouseDragged(MouseEvent) - Method in class general.InventoryImagePanel
-
Invoked when a mouse button is pressed and then the mouse moves
- mouseDragged(MouseEvent) - Method in class general.ShopImagePanel
-
Invoked when a mouse button is pressed and then the mouse moves
- mouseDragged(MouseEvent) - Method in class utility.MouseInput
-
Invoked when a mouse button is pressed and then the mouse moves
- mouseEntered(MouseEvent) - Method in class general.InventoryImagePanel
-
Invoked when the mouse enters a component
- mouseEntered(MouseEvent) - Method in class general.ShopImagePanel
-
Invoked when the mouse enters a component
- mouseEntered(MouseEvent) - Method in class utility.MouseInput
-
Invoked when the mouse enters a component
- mouseExited(MouseEvent) - Method in class general.InventoryImagePanel
-
Invoked when the mouse exits a component
- mouseExited(MouseEvent) - Method in class general.ShopImagePanel
-
Invoked when the mouse exits a component
- mouseExited(MouseEvent) - Method in class utility.MouseInput
-
Invoked when the mouse exits a component
- MouseInput - Class in utility
-
The class used to handle all mouse inputs
- MouseInput() - Constructor for class utility.MouseInput
-
The default constructor
- MouseInput(BufferedImage, GameObject) - Constructor for class utility.MouseInput
-
The general constructor used to create the object
- mouseMoved(MouseEvent) - Method in class general.InventoryImagePanel
-
Invoked when the mouse moves
- mouseMoved(MouseEvent) - Method in class general.ShopImagePanel
-
Invoked when the mouse moves
- mouseMoved(MouseEvent) - Method in class utility.MouseInput
-
Invoked when the mouse moves
- mousePressed(MouseEvent) - Method in class general.InventoryImagePanel
-
Invoked when a mouse button has been pressed
- mousePressed(MouseEvent) - Method in class general.ShopImagePanel
-
Invoked when a mouse button has been pressed
- mousePressed(MouseEvent) - Method in class utility.MouseInput
-
Invoked when a mouse button has been pressed
- mouseReleased(MouseEvent) - Method in class general.InventoryImagePanel
-
Invoked when a mouse button has been released after being pressed
- mouseReleased(MouseEvent) - Method in class general.ShopImagePanel
-
Invoked when a mouse button has been released after being pressed
- mouseReleased(MouseEvent) - Method in class utility.MouseInput
-
Invoked when a mouse button has been released after being pressed
- mouseX - Static variable in class general.InventoryImagePanel
-
Stores the x position of the user's mouse's cursor while the inventory panel is on
- mouseX - Static variable in class general.ShopImagePanel
-
Stores the x position of the user's mouse's cursor while the shop panel is on
- mouseX - Static variable in class utility.MouseInput
-
The x position of the mouse cursor
- mouseY - Static variable in class general.InventoryImagePanel
-
Stores the y position of the user's mouse's cursor while the inventory panel is on
- mouseY - Static variable in class general.ShopImagePanel
-
Stores the y position of the user's mouse's cursor while the shop panel is on
- mouseY - Static variable in class utility.MouseInput
-
The y position of the mouse cursor
- moveItems(InventoryImagePanel.SlotPos) - Method in class general.InventoryImagePanel
-
Handles items being moved from one inventory slot to another
- MovingPlatform - Class in gameObject
-
Represents the platforms that move
- MovingPlatform() - Constructor for class gameObject.MovingPlatform
-
The default constructor
- MovingPlatform(double, double, double, double, int, int) - Constructor for class gameObject.MovingPlatform
-
The general constructor used to create the moving platforms
- msgs - Variable in class general.ChatPanel
-
Stores the messages in the chat panel
- MULTIPLAYER_ON - Static variable in class general.Main
-
Global flag to turn the multiplayer on/off
- multiplayerInfos - Variable in class gameObject.OtherSonic
-
Stores OtherSonic's multiplayer infos
- musicObject - Variable in class general.Main
-
Manages the music and sound effects of the game
- myInfosToSend - Variable in class gameObject.Sonic
-
The multiplayer info packets to send
- myPaint(Graphics) - Method in class general.InventoryImagePanel
-
Draws the inventory panel and the items in the inventory
- myPaint(Graphics) - Method in class general.ShopImagePanel
-
Draws the shop panel, the items listed in the shop, and the prices of the items
- p1X - Variable in class gameObject.Sonic
-
Sonic's top-left x position while rotating on the loop-the-loop
- p1Y - Variable in class gameObject.Sonic
-
Sonic's top-left y position while rotating on the loop-the-loop
- p2X - Variable in class gameObject.Sonic
-
Sonic's top-right x position while rotating on the loop-the-loop
- p2Y - Variable in class gameObject.Sonic
-
Sonic's top-right y position while rotating on the loop-the-loop
- p3X - Variable in class gameObject.Sonic
-
Sonic's bottom-left x position while rotating on the loop-the-loop
- p3Y - Variable in class gameObject.Sonic
-
Sonic's bottom-left y position while rotating on the loop-the-loop
- p4X - Variable in class gameObject.Sonic
-
Sonic's bottom-right x position while rotating on the loop-the-loop
- p4Y - Variable in class gameObject.Sonic
-
Sonic's bottom-right y position while rotating on the loop-the-loop
- paint(Graphics) - Method in class gameObject.Barrier
-
Draws the barrier's hitbox
- paint(Graphics) - Method in class gameObject.Buzzbomber
-
Draws the Buzzbomber's hitbox, animation, and default image
- paint(Graphics) - Method in class gameObject.BuzzbomberBomb
-
Draws the hitbox and the image of the bomb
- paint(Graphics) - Method in class gameObject.Checkpoint
-
Draws the hitbox of the checkpoint
- paint(Graphics) - Method in class gameObject.Chopper
-
Draws the Chopper's hitbox, animation, and default image
- paint(Graphics) - Method in class gameObject.Crabmeat
-
Draws the Crabmeat's hitbox, animation, and default image
- paint(Graphics) - Method in class gameObject.CurvedPlatform
-
Draws the Bezier curve
- paint(Graphics) - Method in class gameObject.EndMark
-
Draws the endmark's hitbox
- paint(Graphics) - Method in class gameObject.GameObject
-
Paints the game object and its features
- paint(Graphics) - Method in class gameObject.HorzMovingRect
-
Draws the image and the hitbox of the platform
- paint(Graphics) - Method in class gameObject.InclinePlatform
-
Draws the hitbox of the platform
- paint(Graphics) - Method in class gameObject.LoopPlatform
-
Draws the Bezier curve of the loop's segment
- paint(Graphics) - Method in class gameObject.Motorbug
-
Draws the Motorbug's hitbox, animation, and default image
- paint(Graphics) - Method in class gameObject.MovingPlatform
-
Paints the moving platform
- paint(Graphics) - Method in class gameObject.Prop
-
Paints the prop
- paint(Graphics) - Method in class gameObject.RectPlatform
-
Draws the platform's hitbox
- paint(Graphics) - Method in class gameObject.Ring
-
Draws the ring's hitbox
- paint(Graphics) - Method in class gameObject.SCurvePlatform
-
Draws the Bezier curve
- paint(Graphics) - Method in class gameObject.Sonic
-
Draws Sonic's hitbox, image, and animation
- paint(Graphics) - Method in class gameObject.Spike
-
Draws the spike's hitbox
- paint(Graphics) - Method in class gameObject.Spring
-
Draws the spring's hitbox
- paint(Graphics) - Method in class gameObject.StageFeature
-
Paints the stage feature
- paint(Graphics) - Method in class gameObject.StationaryPlatform
-
Paints the platform
- paint(Graphics) - Method in class gameObject.Unit
-
Paints the unit
- paint(Graphics) - Method in class gameObject.VertMovingRect
-
Draws the image and the hitbox of the platform
- paint(Graphics) - Method in class general.Board
-
Drawing all the game objects in the game
- paint(Graphics) - Method in class general.ControlScreen
-
Draws the UI of the control screen
- paint(Graphics) - Method in class general.DeathScreen
-
Draws the UI of the death screen
- paint(Graphics) - Method in class general.EndCreditScreen
-
Draws the UI of the end credit screen
- paint(Graphics) - Method in class general.EndScreen
-
Drawing the UI: scores, time, and rings
- paint(Graphics) - Method in class general.Hud
-
Draws the UI for the HUD
- paint(Graphics) - Method in class general.InventoryImagePanel
-
An empty body function but used to remove the blinking effect of the inventory panel when moved
- paint(Graphics) - Method in class general.Item
-
Draws the item
- paint(Graphics) - Method in class general.Main
-
Draws all the features of the game
- paint(Graphics) - Method in class general.MapScreen
-
Draws the image of the map title
- paint(Graphics) - Method in class general.Menu
-
Draws the UI of the Menu
- paint(Graphics) - Method in class general.Section
-
Drawing the image of the current section and the game objects
- paint(Graphics) - Method in class general.ShopImagePanel
-
An empty body function but used to remove the blinking effect of the shop panel when moved
- paint(Graphics) - Method in class general.TitleScreen
-
Draws the UI of the screen
- paint(Graphics) - Method in class utility.Animation
-
Draws the sprites, rotated or flipped if necessary, of the animation
- paint(Graphics) - Method in class utility.FakeImages
-
Draws the stage feature's image on top of the background
- paint(Graphics) - Method in class utility.SplashScreen
-
Draws the faded images
- paintComponent(Graphics) - Method in class general.ChatPanel
-
Draws the chat panel onto the game window
- PANEL_INV - Static variable in class general.Main
-
States that the inventory panel is in focus
- PANEL_NONE - Static variable in class general.Main
-
States that neither the inventory or the shop panel is in focus
- PANEL_SHOP - Static variable in class general.Main
-
States that the shop panel is in focus
- pause - Variable in class utility.Animation
-
Used to pause the animation
- playMusic(String) - Method in class utility.HandleSoundFx
-
Playing the background music
- playOnlyOnce - Variable in class utility.HandleSoundFx
-
Identifies if a sound effect should only be played once
- playSoundFx(String) - Method in class utility.HandleSoundFx
-
Playing the sound effects
- prevMultiplayerInfo - Variable in class gameObject.OtherSonic
-
The previous frame's multiplayer info packet
- PRICE - Static variable in class general.Enderpearl
-
The item price
- price - Variable in class general.Item
-
The item price
- PRICE - Static variable in class general.LifeMushroom
-
The item price
- PRICE - Static variable in class general.SpeedPotion
-
The item price
- PRICE_H - Static variable in class general.ShopImagePanel
-
The height of the item price text
- Prop - Class in gameObject
-
Represents all the props that Sonic can interact with
- Prop() - Constructor for class gameObject.Prop
-
The default constructor
- Prop(double, double, double, double) - Constructor for class gameObject.Prop
-
The general constructor used to create the prop
- r - Static variable in class general.Main
-
Produces randomly generated numbers
- reachedTheEnd - Variable in class gameObject.Sonic
-
Identifies if the reached-ending sound effect is on
- RECEIVE_PLAYER_INFO_DELAY - Static variable in class general.Board
-
The delay to receive multiplayer info packets
- RectPlatform - Class in gameObject
-
Represents all the platforms that take a rectangular shape
- RectPlatform() - Constructor for class gameObject.RectPlatform
-
The default constructor
- RectPlatform(double, double, double, double) - Constructor for class gameObject.RectPlatform
-
The general constructor used to create the rectangular platform
- referenceH - Variable in class gameObject.SCurvePlatform
-
Stores the height of the firstreference block
- referencePosX - Variable in class gameObject.SCurvePlatform
-
Stores the x coordinate of the first reference block
- referencePosY - Variable in class gameObject.SCurvePlatform
-
Stores the y coordinate of the first reference block
- referenceW - Variable in class gameObject.SCurvePlatform
-
Stores the width of the first reference block
- removeGameObject(GameObject) - Method in class general.Section
-
Removing the given game objects
- repetition - Variable in class utility.Sprite
-
Identifies if an animation should be repeated after reaching the final index
- reset() - Method in class utility.Animation
-
Used to reset the animation back to the initial state
- respawnSonic() - Method in class gameObject.Sonic
-
Used to reset/set Sonic's coordinates and features when Sonic respawns
- respawnX - Variable in class gameObject.Sonic
-
The respawning x position
- respawnY - Variable in class gameObject.Sonic
-
The respawning y position
- RESUME_OFFSET_X - Static variable in class general.Menu
-
The x offset of the text inside of the resume button
- RESUME_Y - Static variable in class general.Menu
-
The y position of the resume button
- RETURN_OFFSET_X - Static variable in class general.ControlScreen
-
The x offset for the text within the return button
- RETURN_OFFSET_X - Static variable in class general.EndCreditScreen
-
The x offset for the text within the return button
- RETURN_OFFSET_Y - Static variable in class general.ControlScreen
-
The y offset for the text within the return button
- RETURN_OFFSET_Y - Static variable in class general.EndCreditScreen
-
The y offset for the text within the return button
- RGB - Static variable in class utility.ImageModifier
-
Stores BufferedImage.TYPE_INT_RGB
- RGBA - Static variable in class utility.ImageModifier
-
Stores BufferedImage.TYPE_INT_ARGB
- Ring - Class in gameObject
-
Represents the rings that Sonic can collect
- Ring() - Constructor for class gameObject.Ring
-
The default constructor
- Ring(double, double, double, double, ImageManager) - Constructor for class gameObject.Ring
-
The general constructor used to create the ring
- RING_BONUS_Y - Static variable in class general.EndScreen
-
The y position of the ring bonus
- ringAnimation - Variable in class gameObject.Ring
-
The current ring animation
- ringBonus - Variable in class general.EndScreen
-
Stores Sonic's ring bonus
- ringBonusChange - Variable in class general.EndScreen
-
Stores Sonic's ring bonus animation rate
- rings - Variable in class gameObject.Sonic
-
The number of rings Sonic currently has
- RINGS_FX - Static variable in class utility.Sound
-
The filename for the collecting rings sound effect
- ringsFxOn - Variable in class gameObject.Sonic
-
Identifies if the collecting rings sound effect is on
- row - Variable in class general.InventoryImagePanel.SlotPos
-
The row of the slot
- row - Variable in class general.ShopImagePanel.SlotPos
-
- ROW_1_Y - Static variable in class general.ControlScreen
-
The first row of the screen to present the controls
- ROW_2_Y - Static variable in class general.ControlScreen
-
The second row of the screen to present the controls
- ROW_3_Y - Static variable in class general.ControlScreen
-
The third row of the screen to present the controls
- ROW_SIZE - Static variable in class general.InventoryImagePanel
-
The number of rows in the inventory panel
- S_CURVE_X1 - Static variable in class gameObject.SCurvePlatform
-
Predetermined x coordinates of Bezier Curve controls points for S-Curve 1
- S_CURVE_X2 - Static variable in class gameObject.SCurvePlatform
-
Predetermined x coordinates of Bezier Curve controls points for S-Curve 2
- S_CURVE_X3 - Static variable in class gameObject.SCurvePlatform
-
Predetermined x coordinates of Bezier Curve controls points for S-Curve 3
- S_CURVE_X4 - Static variable in class gameObject.SCurvePlatform
-
Predetermined x coordinates of Bezier Curve controls points for S-Curve 4
- S_CURVE_Y1 - Static variable in class gameObject.SCurvePlatform
-
Predetermined y coordinates of Bezier Curve controls points for S-Curve 1
- S_CURVE_Y2 - Static variable in class gameObject.SCurvePlatform
-
Predetermined y coordinates of Bezier Curve controls points for S-Curve 2
- S_CURVE_Y3 - Static variable in class gameObject.SCurvePlatform
-
Predetermined y coordinates of Bezier Curve controls points for S-Curve 3
- S_CURVE_Y4 - Static variable in class gameObject.SCurvePlatform
-
Predetermined y coordinates of Bezier Curve controls points for S-Curve 4
- score - Variable in class gameObject.Sonic
-
The score Sonic currently has
- score - Variable in class general.EndScreen
-
Stores Sonic's score
- SCORE_Y - Static variable in class general.EndScreen
-
The y position of the score
- scrollPane - Variable in class general.ChatPanel
-
The scroller for the chat panel
- sCurveId - Variable in class gameObject.SCurvePlatform
-
The ID of the S-Curve segment
- SCurvePlatform - Class in gameObject
-
Represents the curves that take the form of an S.
- SCurvePlatform() - Constructor for class gameObject.SCurvePlatform
-
The default constructor
- SCurvePlatform(double, double, double, double, Section, double, double, double, double, int) - Constructor for class gameObject.SCurvePlatform
-
The general constructor used to create the S-Curve
- sCurveX1 - Variable in class gameObject.SCurvePlatform
-
Stores x coordinates of Bezier Curve control points for S-Curve 1
- sCurveX2 - Variable in class gameObject.SCurvePlatform
-
Stores x coordinates of Bezier Curve control points for S-Curve 2
- sCurveX3 - Variable in class gameObject.SCurvePlatform
-
Stores x coordinates of Bezier Curve control points for S-Curve 3
- sCurveX4 - Variable in class gameObject.SCurvePlatform
-
Stores x coordinates of Bezier Curve control points for S-Curve 4
- sCurveY1 - Variable in class gameObject.SCurvePlatform
-
Stores y coordinates of Bezier Curve control points for S-Curve 1
- sCurveY2 - Variable in class gameObject.SCurvePlatform
-
Stores y coordinates of Bezier Curve control points for S-Curve 2
- sCurveY3 - Variable in class gameObject.SCurvePlatform
-
Stores y coordinates of Bezier Curve control points for S-Curve 3
- sCurveY4 - Variable in class gameObject.SCurvePlatform
-
Stores y coordinates of Bezier Curve control points for S-Curve 4
- section - Variable in class gameObject.CurvedPlatform
-
Stores the map section the curve is located in
- section - Variable in class gameObject.HorzMovingRect
-
Stores the map section the platform is located in
- section - Variable in class gameObject.LoopPlatform
-
Stores the map section the loop-the-loop is located in
- section - Variable in class gameObject.SCurvePlatform
-
The map section the S-Curve is located in
- section - Variable in class gameObject.VertMovingRect
-
Stores map section the platform is located in
- Section - Class in general
-
Represents sections of the map
- Section() - Constructor for class general.Section
-
The default constructor
- Section(String, String, double, double, int, boolean, ImageManager) - Constructor for class general.Section
-
The general constructor used to create the map section
- section - Variable in class utility.FakeImages
-
The current section of the map the overpass is located in
- sectionIndex - Variable in class general.Section
-
The index of the section vector
- sections - Variable in class general.Board
-
Stores all the sections
- sectionStartX - Variable in class general.Section
-
The x coordinate of the current section
- sectionStartY - Variable in class general.Section
-
The y coordinate of the current section
- selectedAnItem - Variable in class general.ShopImagePanel
-
Identifies if an item has been selected
- selectedItemIndex - Variable in class general.ShopImagePanel
-
The slot index of the item selected to buy
- selectedItemToBuy - Variable in class general.ShopImagePanel
-
The item selected to buy
- SEND_PLAYER_INFO_DELAY - Static variable in class gameObject.Sonic
-
The delay to send its multiplayer info to the server
- sendButton - Variable in class general.ChatPanel
-
The button to send messages
- sendMessage() - Method in class general.ChatPanel
-
Describes the protocol for sending messages in the chat panel
- sendPlayerInfo() - Method in class gameObject.Sonic
-
Sends the user's info to the server
- serialNumMultiplayerInfo - Variable in class gameObject.Sonic
-
The serial number of multiplayer info packets
- SERVER_IP_ADDRESS - Static variable in class general.Main
-
Stores the localhost IP address
- SHOP_IMAGE_PANEL_ON - Static variable in class general.Main
-
Global flag to turn the GUI shop panel on/off
- SHOP_PANEL_ON - Static variable in class general.Main
-
Global flag to turn the text-based shop panel on/off
- SHOP_PANEL_REFILL_DELAY - Static variable in class general.ShopImagePanel
-
The delay to refil the shop panel
- SHOP_PANEL_UPDATE_DELAY - Static variable in class general.ShopImagePanel
-
The delay to update the shop panel
- shopImagePanel - Static variable in class general.Main
-
The GUI shop panel
- ShopImagePanel - Class in general
-
Represents the GUI shop panel which Sonic can use to buy items
- ShopImagePanel() - Constructor for class general.ShopImagePanel
-
The default constructor used to create the shop panel
- ShopImagePanel.SlotPos - Class in general
-
An inner class of the ShopPanel class which represents the slots of the shop panel
- shopPanel - Static variable in class general.Main
-
The text-based shop panel
- ShopPanel - Class in general
-
Represents the text-based shop panel which stores items a player can buy
- ShopPanel() - Constructor for class general.ShopPanel
-
The default constructor used to create the shop panel
- showHitbox - Static variable in class general.Main
-
Toggleable flag to show hitboxes of game objects
- skipCounterLagSendPlayerInfo - Static variable in class gameObject.Sonic
-
Counts the number of frames skipped in the artificial client lag
- skipCounterNonLagSendPlayerInfo - Static variable in class gameObject.Sonic
-
Counts the number of frames sent without the artificial client lag
- SLOT_GAP_H - Static variable in class general.InventoryImagePanel
-
The y distance from 1 slot to another
- SLOT_GAP_W - Static variable in class general.InventoryImagePanel
-
The x distance from 1 slot to another
- SLOT_GAP_W - Static variable in class general.ShopImagePanel
-
The x distance between 1 slot to another
- SLOT_H - Static variable in class general.InventoryImagePanel
-
The height of a slot
- SLOT_H - Static variable in class general.ShopImagePanel
-
The height of a slot
- SLOT_W - Static variable in class general.InventoryImagePanel
-
The width of a slot
- SLOT_W - Static variable in class general.ShopImagePanel
-
The width of a slot
- SlotPos() - Constructor for class general.InventoryImagePanel.SlotPos
-
The default constructor used to create the slots
- SlotPos(int, int) - Constructor for class general.InventoryImagePanel.SlotPos
-
The general constructor used to create the slots
- SlotPos() - Constructor for class general.ShopImagePanel.SlotPos
-
The default constructor used to create the slots
- SlotPos(int, int) - Constructor for class general.ShopImagePanel.SlotPos
-
The general constructor used to create the slots
- slots - Static variable in class general.InventoryImagePanel
-
Stores the items in the inventory
- slots - Variable in class general.ShopImagePanel
-
Stores the items in the shop panel
- Sonic - Class in gameObject
-
Represents Sonic, the player of the game
- Sonic() - Constructor for class gameObject.Sonic
-
The default constructor
- Sonic(Camera, Board, boolean, ImageManager) - Constructor for class gameObject.Sonic
-
The general constructor used to create Sonic
- sonic - Variable in class general.Board
-
Instance of the Sonic object
- sonic - Variable in class utility.HandleSoundFx
-
The game object that triggers the sound effects
- sonic - Variable in class utility.MouseInput
-
The game object the mouse is being used for
- SONIC_BALL_H - Static variable in class gameObject.Sonic
-
The height of Sonic while in the spin ball form
- SONIC_BALL_W - Static variable in class gameObject.Sonic
-
The width of Sonic while in the spin ball form
- SONIC_H - Static variable in class gameObject.Sonic
-
The height of Sonic
- SONIC_W - Static variable in class gameObject.Sonic
-
The width of Sonic
- Sound - Class in utility
-
Global variables used to store the music and sound effects
- Sound() - Constructor for class utility.Sound
-
- SOUND_ON - Static variable in class general.Main
-
Global flag to turn the sound on/off
- spacebarPressed - Static variable in class utility.KeyboardInput
-
Toggle jump
- SPEED_POTION_DELAY - Static variable in class general.SpeedPotion
-
The delay length for the speed potion's effect
- SPEED_POTION_SPEED - Static variable in class general.SpeedPotion
-
The additional x speed the speed potion provides for Sonic
- SpeedPotion - Class in general
-
Represents the Speed Potion item that grants Sonic extra speed for a limited time
- SpeedPotion() - Constructor for class general.SpeedPotion
-
The default constructor used to create the item
- speedPotionDelay - Variable in class gameObject.Sonic
-
Stores the delay length of the speed potion
- Spike - Class in gameObject
-
Represents spikes which damage Sonic
- Spike() - Constructor for class gameObject.Spike
-
The default constructor
- Spike(double, double, double, double) - Constructor for class gameObject.Spike
-
The general constructor that creates the spikes
- SPIN_BALL_DELAY - Static variable in class gameObject.Sonic
-
Sonic's delay to stay in the spin ball form
- SPIN_FX - Static variable in class utility.Sound
-
The filename for the spin ball sound effect
- spinBallAttack - Variable in class gameObject.Sonic
-
Identifies if Sonic hit a Badnik while in the spin ball form
- spinBallDelay - Variable in class gameObject.Sonic
-
Stores the delay length of Sonic's spin ball form
- spinBallFxOn - Variable in class gameObject.Sonic
-
Identifies if the spin ball sound effect is on
- splash() - Static method in class utility.SplashScreen
-
Updates the fading interval and changes the game state if the fading is done for an image
- splashScreen - Static variable in class general.Main
-
Manages screens when they are fading out
- SplashScreen - Class in utility
-
Represents the images that will fade
- SplashScreen() - Constructor for class utility.SplashScreen
-
The default constructor
- Spring - Class in gameObject
-
Represents springs which springs Sonic upwards through interaction
- Spring() - Constructor for class gameObject.Spring
-
The default constructor
- Spring(double, double, double, double) - Constructor for class gameObject.Spring
-
The general constructor used to create the spring
- SPRING_FX - Static variable in class utility.Sound
-
The filename for the spring sound effect
- SPRING_Y_SPEED - Static variable in class gameObject.Sonic
-
Sonic's starting y speed when jumping off a spring
- springFxOn - Variable in class gameObject.Sonic
-
Identifies if the spring sound effect is on
- sprite - Variable in class utility.Animation
-
Stores all of the sprites to create an animation
- Sprite - Class in utility
-
Manages global variables for sprite files
- Sprite() - Constructor for class utility.Sprite
-
The default constructor
- Sprite(String, String, int, int, boolean, int, int) - Constructor for class utility.Sprite
-
The general constructor used to create the sprites
- SpriteBuzzbomberFire - Class in utility
-
Represents the sprites for the unit, Buzzbomber, when it fires a bomb
- SpriteBuzzbomberFire() - Constructor for class utility.SpriteBuzzbomberFire
-
The default constructor used to create the sprites
- SpriteBuzzbomberFly - Class in utility
-
Represents the sprites for the unit, Buzzbomber, when it flies
- SpriteBuzzbomberFly() - Constructor for class utility.SpriteBuzzbomberFly
-
The default constructor used to create the sprites
- SpriteChopper - Class in utility
-
Represents the sprites for the unit, Chopper
- SpriteChopper() - Constructor for class utility.SpriteChopper
-
The default constructor used to create the sprites
- SpriteCrabmeat - Class in utility
-
Represents the sprites for the unit, Crabmeat
- SpriteCrabmeat() - Constructor for class utility.SpriteCrabmeat
-
The default constructor used to create the sprites
- SpriteMotorbug - Class in utility
-
Represents the sprites for the unit, Motorbug
- SpriteMotorbug() - Constructor for class utility.SpriteMotorbug
-
The default constructor used to create the sprites
- spriteNamePostfix - Variable in class utility.Sprite
-
The sprite filename suffix
- spriteNamePrefix - Variable in class utility.Sprite
-
The sprite filename prefix
- SpriteRing - Class in utility
-
Represents the sprites for rings
- SpriteRing() - Constructor for class utility.SpriteRing
-
The default constructor used to create the sprites
- sprites - Variable in class utility.Sprite
-
Stores the sprites
- SpriteSonicBall - Class in utility
-
Represents the sprites for when Sonic is in the spin ball form
- SpriteSonicBall() - Constructor for class utility.SpriteSonicBall
-
The default constructor used to create the sprites
- SpriteSonicBarrier - Class in utility
-
Represents the sprites for when Sonic hits a barrier
- SpriteSonicBarrier() - Constructor for class utility.SpriteSonicBarrier
-
The default constructor used to create the sprites
- SpriteSonicDamage - Class in utility
-
Represents the sprites for when Sonic takes damage
- SpriteSonicDamage() - Constructor for class utility.SpriteSonicDamage
-
The default constructor used to create the sprites
- SpriteSonicEnd - Class in utility
-
Represents the sprites for when Sonic reaches the end of a stage
- SpriteSonicEnd() - Constructor for class utility.SpriteSonicEnd
-
The default constructor used to create the sprites
- SpriteSonicIdle - Class in utility
-
Represents the sprites for when Sonic idles
- SpriteSonicIdle() - Constructor for class utility.SpriteSonicIdle
-
The default constructor used to create the sprites
- SpriteSonicJump - Class in utility
-
Represents the sprites for when Sonic jumps
- SpriteSonicJump() - Constructor for class utility.SpriteSonicJump
-
The default constructor used to create the sprites
- SpriteSonicRun - Class in utility
-
Represents the sprites for when Sonic runs
- SpriteSonicRun() - Constructor for class utility.SpriteSonicRun
-
The default constructor used to create the sprites
- SpriteSonicSpring - Class in utility
-
Represents the sprites for when Sonic jumps on a spring
- SpriteSonicSpring() - Constructor for class utility.SpriteSonicSpring
-
The default constructor used to create the sprites
- SpriteSonicWalk - Class in utility
-
Represents the sprites for when Sonic walks
- SpriteSonicWalk() - Constructor for class utility.SpriteSonicWalk
-
The default constructor used to create the sprites
- srcSlot - Variable in class general.InventoryImagePanel
-
The source slot when moving an item
- Stage - Class in general
-
Global variables for stages
- Stage() - Constructor for class general.Stage
-
- STAGE_FEATURE_1_WAY_BARRIER - Static variable in class general.Section
-
Detected a 1-way barrier during color detection
- STAGE_FEATURE_BARRIER - Static variable in class general.Section
-
Detected a barrier during color detection
- STAGE_FEATURE_CURVE_PLATFORM - Static variable in class general.Section
-
Detected a curved platform during color detection
- STAGE_FEATURE_HORZ_MOVING_RECT - Static variable in class general.Section
-
Detected a horizontal, moving rectangular platform during color detection
- STAGE_FEATURE_INCLINE_PLATFORM - Static variable in class general.Section
-
Detected a inclined platform during color detection
- STAGE_FEATURE_LOOP - Static variable in class general.Section
-
Detected a loop during color detection
- STAGE_FEATURE_PROP - Static variable in class general.Section
-
Detected a prop during color detection
- STAGE_FEATURE_RECT_PLATFORM - Static variable in class general.Section
-
Detected a rectangular platform during color detection
- STAGE_FEATURE_S_CURVE - Static variable in class general.Section
-
Detected an S-Curve during color detection
- STAGE_FEATURE_SPIKE - Static variable in class general.Section
-
Detected a spike during color detection
- STAGE_FEATURE_VERT_MOVING_RECT - Static variable in class general.Section
-
Detected a vertical, moving rectangular platform during color detection
- StageFeature - Class in gameObject
-
Represents all the stage features that Sonic can interact with
- StageFeature() - Constructor for class gameObject.StageFeature
-
The default constructor
- StageFeature(double, double, double, double, int, int) - Constructor for class gameObject.StageFeature
-
The general constructor used to create the stage features
- START_PRICE_Y - Static variable in class general.ShopImagePanel
-
The y position of the first item price text
- START_SLOT_X - Static variable in class general.InventoryImagePanel
-
The x position of the first slot in the inventory panel
- START_SLOT_X - Static variable in class general.ShopImagePanel
-
The x position of the first slot
- START_SLOT_Y - Static variable in class general.InventoryImagePanel
-
The y position of the first slot in the inventory panel
- START_SLOT_Y - Static variable in class general.ShopImagePanel
-
The y position of the first slot
- startedBGM - Variable in class utility.HandleSoundFx
-
Identifies if the background music has already started playing
- startedGroundRecovery - Variable in class gameObject.OtherSonic
-
Idenitifes if OtherSonic started recovering while on the ground
- startedJumpAnim - Variable in class gameObject.OtherSonic
-
Identifies if OtherSonic started a jumping animation
- startedJumping - Variable in class gameObject.OtherSonic
-
Identifies if OtherSonic started to jump
- startedJumpingRecoveryAnim - Variable in class gameObject.OtherSonic
-
Identifies if OtherSonic started the jumping animation while airborne recovery
- startIndex - Variable in class utility.Sprite
-
The starting index of the animation
- STARTING_X - Static variable in class gameObject.Sonic
-
Sonic's starting x position
- STARTING_Y - Static variable in class gameObject.Sonic
-
Sonic's starting y position
- startingSCurveId - Variable in class gameObject.SCurvePlatform
-
The ID the first S-Curve segment
- startX - Variable in class gameObject.OtherSonic
-
The starting x position of the recovery
- startY - Variable in class gameObject.OtherSonic
-
The starting y position of the recovery
- StationaryPlatform - Class in gameObject
-
Represents all the stage features that do not move
- StationaryPlatform() - Constructor for class gameObject.StationaryPlatform
-
The default constructor
- StationaryPlatform(double, double, double, double, int, int) - Constructor for class gameObject.StationaryPlatform
-
The general constructor used to create the stationary stage features
- stopMuisc() - Method in class utility.HandleSoundFx
-
Stopping the music
- SUB_TEXT_X - Static variable in class general.EndCreditScreen
-
The x position of the description text on the screen
- SUBTRACTING_AMOUNT - Static variable in class general.EndScreen
-
The score subtracting amount for each frame during the ending animation
- swimUpDelay - Variable in class gameObject.Chopper
-
Stores the delay to move up after reaching its lowest point
- Unit - Class in gameObject
-
Represents all units in the game which are entities that move and can die
- Unit() - Constructor for class gameObject.Unit
-
The default constructor
- Unit(double, double, int, int, double, double, double, double) - Constructor for class gameObject.Unit
-
The general constructor used to create the unit
- update() - Method in class gameObject.Buzzbomber
-
Updates the Buzzbomber's animation and movements
- update() - Method in class gameObject.BuzzbomberBomb
-
Updates the movements of the bomb
- update() - Method in class gameObject.Checkpoint
-
An empty function body since checkpoint does not update
- update() - Method in class gameObject.Chopper
-
Updates the Choppers's animations and movement
- update() - Method in class gameObject.Crabmeat
-
Updates the animations
- update() - Method in class gameObject.EndMark
-
An empty function body since the function is not used
- update() - Method in class gameObject.GameObject
-
Updates the game object
- update() - Method in class gameObject.HorzMovingRect
-
Updates the platform's movements
- update() - Method in class gameObject.Motorbug
-
Updates the Motorbug's movements, collision detection, and animations
- update() - Method in class gameObject.MovingPlatform
-
Updates the moving platform
- update() - Method in class gameObject.OtherSonic
-
Updates OtherSonic's animations and movements
- update() - Method in class gameObject.Prop
-
Updates the prop
- update() - Method in class gameObject.Ring
-
Updates the animation of the rings
- update() - Method in class gameObject.Sonic
-
Updates sonic's animations, collision detection, and movements
- update() - Method in class gameObject.Spike
-
Empty function body becasue this function is not used
- update() - Method in class gameObject.Spring
-
Empty function body becasue this function is not used
- update() - Method in class gameObject.StageFeature
-
Updates the stage feature
- update() - Method in class gameObject.StationaryPlatform
-
Updates the platform
- update() - Method in class gameObject.Unit
-
Updates the unit
- update() - Method in class gameObject.VertMovingRect
-
Updates the platform's y movements
- update() - Method in class general.Board
-
Updating all the game objects in the game
- update() - Method in class general.EndScreen
-
Updating the score
- update() - Method in class general.Main
-
Updates all the feautes of the game
- update() - Method in class general.Section
-
Updating all the game objects in the section
- update() - Method in class utility.Animation
-
Updates the animation by changing the index of the animation using the interval delay
- update() - Method in class utility.HandleSoundFx
-
Updating the music and sound effects
- UPDATE_RINGS_DELAY - Static variable in class general.ShopImagePanel
-
The delay to update the player's rings when decreased
- updateAnimation() - Method in class gameObject.Sonic
-
Updates Sonic's animations
- updateChatMessages() - Method in class general.ChatPanel
-
Describes the protocol for updating the chat field in the chat panel so players can see sent messages
- updateCollisionDetection() - Method in class gameObject.Motorbug
-
Updates the Motorbug's collision detection to allow the Motorbug to move from 1 stage feature to another
- updateCollisionDetection() - Method in class gameObject.OtherSonic
-
Checks if OtherSonic collided with a stage feature
- updateCollisionDetection() - Method in class gameObject.Sonic
-
Updates Sonic's collision detection
- updateGameStates() - Method in class general.Main
-
Updates the state of the game
- updateInvItems() - Method in class general.InventoryImagePanel
-
Updates items in the inventory panel when items have been added/removed
- updateItemList() - Static method in class general.Item
-
"Downloads" all of the item information from the server so the client can use the information
- updateOtherPlayerInfo() - Method in class general.Board
-
Receives and updates other player info for the user
- updateRings() - Method in class general.ShopImagePanel
-
Updates the players ring count when the shop panel is opened
- updateShopPanelItems() - Method in class general.ShopImagePanel
-
Updates the shop panel when a player buys an item
- updateSpinBall() - Method in class gameObject.Sonic
-
Updates Sonic's size, animation, and sound when in the spin ball form
- updateX() - Method in class gameObject.Buzzbomber
-
Updates the Buzzbomber's x movements
- updateX() - Method in class gameObject.Motorbug
-
Updates the Motorbug's x movements
- updateX() - Method in class gameObject.Sonic
-
Updates Sonic's x movement
- updateXSpeed() - Method in class gameObject.HorzMovingRect
-
Updates the platform's x speed
- updateXSpeed() - Method in class gameObject.Sonic
-
Updates Sonic's x speed
- updateY() - Method in class gameObject.Chopper
-
Updates the y movements
- updateY() - Method in class gameObject.Motorbug
-
Updates the Motorbug's y movements
- updateY() - Method in class gameObject.Sonic
-
Updates Sonic's y movements
- use() - Method in class general.Enderpearl
-
Describes the interaction when the player uses the item
- use() - Method in class general.Item
-
Abstract function for child classes when Sonic uses an item
- use() - Method in class general.LifeMushroom
-
Describes the interaction when the player uses the item
- use() - Method in class general.SpeedPotion
-
Describes the interation when the player uses the item
- useItem() - Method in class general.InventoryImagePanel
-
Invokes the selected item's feature and applies it onto Sonic
- userID - Variable in class gameObject.OtherSonic
-
The string ID of the OtherSonic
- utility - package utility
-
Handles the assets and the asset modifiers in the game