Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
A
actionAvatar(int, int, int, int)
- Method in class org.game.JVirus.
ActionControl
select what Action to do in this field
actionControl
- Variable in class org.game.JVirus.
JVirusPanel
reference to the ActionControl class.
ActionControl
- class org.game.JVirus.
ActionControl
.
this class controls the movement of the avatar and the animating thread.
ActionControl.ActionControlRunner
- class org.game.JVirus.
ActionControl.ActionControlRunner
.
Animating thread
ActionControl.ActionControlRunner(ActionControl)
- Constructor for class org.game.JVirus.
ActionControl.ActionControlRunner
ActionControl.IGameListener
- interface org.game.JVirus.
ActionControl.IGameListener
.
callback interface for game events
ActionControl(Display, JFrame, ActionControl.IGameListener)
- Constructor for class org.game.JVirus.
ActionControl
creates the ActionControl.
actionPerformed(ActionEvent)
- Method in class org.game.JVirus.
JVirusPanel.MenuActionListener
actionPerformed(ActionEvent)
- Method in class org.game.JVirus.
JVirusPanel.MusicActionListener
actionTyp
- Static variable in class org.game.JVirus.
Matrix
array with action types.
addChangeListener(ChangeListener)
- Method in class org.game.JVirus.
JVSlider
add callback listener
addCloser()
- Method in class org.game.JVirus.
JVirusFrame.JVirusInfoScreen
add a Closer to Infoscreen after loading of the programm.
AMD
- Static variable in interface org.game.JVirus.
IFields
AnimImage
- class org.game.JVirus.
AnimImage
.
simply a array if images.
AnimImage(Image[])
- Constructor for class org.game.JVirus.
AnimImage
simply constructor
array
- Variable in class org.game.JVirus.
AnimImage
image array
AT_ACTION
- Static variable in interface org.game.JVirus.
IFields
AT_ANIM
- Static variable in interface org.game.JVirus.
IFields
AT_BEAM
- Static variable in interface org.game.JVirus.
IFields
AT_EAT
- Static variable in interface org.game.JVirus.
IFields
AT_EAT_SOUND1
- Static variable in interface org.game.JVirus.
IFields
AT_EAT_SOUND2
- Static variable in interface org.game.JVirus.
IFields
AT_END
- Static variable in interface org.game.JVirus.
IFields
AT_FAll
- Static variable in interface org.game.JVirus.
IFields
AT_HOLD
- Static variable in interface org.game.JVirus.
IFields
AT_MOVE
- Static variable in interface org.game.JVirus.
IFields
AT_PUSH
- Static variable in interface org.game.JVirus.
IFields
AT_WALL
- Static variable in interface org.game.JVirus.
IFields
avatar
- Variable in class org.game.JVirus.
ActionControl
reference to the Avatar
Avatar
- class org.game.JVirus.
Avatar
.
Avatar class.
Avatar()
- Constructor for class org.game.JVirus.
Avatar
construct the Avatar.
avatar1
- Static variable in class org.game.JVirus.
Images
reference for the avatar image
avatar2
- Static variable in class org.game.JVirus.
Images
reference for the avatar image
avatar3
- Static variable in class org.game.JVirus.
Images
reference for the avatar image
avatar4
- Static variable in class org.game.JVirus.
Images
reference for the avatar image
B
background_sound_array
- Static variable in class org.game.JVirus.
Sound
music list
backPanel
- Variable in class org.game.JVirus.
JVirusPanel
DisplayBackPanel of this game.
BEAM0
- Static variable in interface org.game.JVirus.
IFields
BEAM1
- Static variable in interface org.game.JVirus.
IFields
BEAM2
- Static variable in interface org.game.JVirus.
IFields
BEAM3
- Static variable in interface org.game.JVirus.
IFields
BEAM4
- Static variable in interface org.game.JVirus.
IFields
BEAM5
- Static variable in interface org.game.JVirus.
IFields
BEAM6
- Static variable in interface org.game.JVirus.
IFields
BEAM7
- Static variable in interface org.game.JVirus.
IFields
BEAM8
- Static variable in interface org.game.JVirus.
IFields
BEAM9
- Static variable in interface org.game.JVirus.
IFields
beamAvatar(char, int, int)
- Method in class org.game.JVirus.
ActionControl
search for other beam field and move the avatar
BEOS
- Static variable in interface org.game.JVirus.
IFields
black
- Static variable in class org.game.JVirus.
SwingTheme
BLUEGATE
- Static variable in interface org.game.JVirus.
IFields
BLUEKEY
- Static variable in interface org.game.JVirus.
IFields
border
- Variable in class org.game.JVirus.
JVirusPanel.ContinueGamePanel
border_focus
- Variable in class org.game.JVirus.
JVirusPanel.ContinueGamePanel.LevelListRenderer
border_not_focus
- Variable in class org.game.JVirus.
JVirusPanel.ContinueGamePanel.LevelListRenderer
bufferImage
- Variable in class org.game.JVirus.
Display
display offscreen buffer
bufferMatrix1
- Variable in class org.game.JVirus.
Matrix
buffer array for object fall function
C
center
- Variable in class org.game.JVirus.
DisplayBackPanel
display panel
closeSoundSystem()
- Static method in class org.game.JVirus.
Sound
close the sound system
componentResized(ComponentEvent)
- Method in class org.game.JVirus.
DisplayBackPanel.Resizer
continueGamePanel
- Variable in class org.game.JVirus.
JVirusPanel
Message to choose a level
createControlPanel()
- Method in class org.game.JVirus.
JVirusPanel
creates the control panel
createJButton(String, String)
- Method in class org.game.JVirus.
JVirusPanel
help function.
createJMenu(String)
- Method in class org.game.JVirus.
JVirusPanel
help function.
createJMenuItem(String, String, int)
- Method in class org.game.JVirus.
JVirusPanel
help function.
createLabel(String)
- Method in class org.game.JVirus.
JVirusPanel.ContinueGamePanel
help function
createLabel(String, BufferedImage)
- Method in class org.game.JVirus.
JVirusPanel.ContinueGamePanel
help function
createPointImage(Color)
- Method in class org.game.JVirus.
JVirusPanel
help function. 20x20 pixel image for solved or not solved levels.
createSeparator(Dimension)
- Method in class org.game.JVirus.
JVirusPanel
help function.
createSeparatorHorizontal()
- Method in class org.game.JVirus.
JVirusPanel
help function.
createSeparatorVertical()
- Method in class org.game.JVirus.
JVirusPanel
help function.
createSoundMenuItem(String, String, boolean, ButtonGroup, int)
- Method in class org.game.JVirus.
JVirusPanel
help function.
createTextArea(String, int, int, int, int, int, Color)
- Method in class org.game.JVirus.
JVirusFrame.JVirusInfoScreen
Creates a JTextArea for the Infoscreen.
D
DATA1
- Static variable in interface org.game.JVirus.
IFields
DATA2
- Static variable in interface org.game.JVirus.
IFields
DATA3
- Static variable in interface org.game.JVirus.
IFields
dialogPanel
- Variable in class org.game.JVirus.
DisplayBackPanel
message panel
display
- Variable in class org.game.JVirus.
ActionControl
reference to the display
display
- Variable in class org.game.JVirus.
JVirusPanel
Display of this game.
Display
- class org.game.JVirus.
Display
.
the display for the level array.
DISPLAY_TILES_HEIGHT
- Static variable in class org.game.JVirus.
Display
display height in tiles = 8
DISPLAY_TILES_HEIGHT2
- Static variable in class org.game.JVirus.
Display
half of DISPLAY_TILES_HEIGHT
DISPLAY_TILES_WIDTH
- Static variable in class org.game.JVirus.
Display
display width in tiles = 12
DISPLAY_TILES_WIDTH2
- Static variable in class org.game.JVirus.
Display
half of DISPLAY_TILES_WIDTH
Display()
- Constructor for class org.game.JVirus.
Display
simply constructor
DisplayBackPanel
- class org.game.JVirus.
DisplayBackPanel
.
this panel contains the Display panel and the panel for messages
DisplayBackPanel.Resizer
- class org.game.JVirus.
DisplayBackPanel.Resizer
.
help class.
DisplayBackPanel.Resizer(DisplayBackPanel)
- Constructor for class org.game.JVirus.
DisplayBackPanel.Resizer
DisplayBackPanel(JPanel)
- Constructor for class org.game.JVirus.
DisplayBackPanel
creates the panel.
displayPoint
- Variable in class org.game.JVirus.
Matrix
start point in the Display
drag
- Variable in class org.game.JVirus.
JVSlider.Dragger
drawAvatar(Graphics2D, Avatar)
- Method in class org.game.JVirus.
Display
paints the avatar
DYNS1
- Static variable in interface org.game.JVirus.
IFields
DYNS2
- Static variable in interface org.game.JVirus.
IFields
DYNS3
- Static variable in interface org.game.JVirus.
IFields
DYNS4
- Static variable in interface org.game.JVirus.
IFields
DYNT1
- Static variable in interface org.game.JVirus.
IFields
DYNT2
- Static variable in interface org.game.JVirus.
IFields
DYNT3
- Static variable in interface org.game.JVirus.
IFields
DYNT4
- Static variable in interface org.game.JVirus.
IFields
E
eat_sequence
- Variable in class org.game.JVirus.
Avatar
mouth of avatar open or not
EMPTY
- Static variable in interface org.game.JVirus.
IFields
END
- Static variable in interface org.game.JVirus.
IFields
F
font
- Static variable in class org.game.JVirus.
SwingTheme
FONT_DEFAULT
- Static variable in class org.game.JVirus.
SwingTheme
FONT_SIZE
- Static variable in class org.game.JVirus.
SwingTheme
FONT_TYP
- Static variable in class org.game.JVirus.
SwingTheme
font2
- Static variable in class org.game.JVirus.
SwingTheme
frame
- Variable in class org.game.JVirus.
JVirusFrame.WindowCloser
the frame to close
FX_BEAM
- Static variable in class org.game.JVirus.
Sound
Number of sound
FX_EAT1
- Static variable in class org.game.JVirus.
Sound
Number of sound
FX_EAT2
- Static variable in class org.game.JVirus.
Sound
Number of sound
FX_FALL
- Static variable in class org.game.JVirus.
Sound
Number of sound
FX_GATE_OPEN
- Static variable in class org.game.JVirus.
Sound
Number of sound
FX_LOSE
- Static variable in class org.game.JVirus.
Sound
Number of sound
FX_MOVE
- Static variable in class org.game.JVirus.
Sound
Number of sound
fx_names
- Static variable in class org.game.JVirus.
Sound
sound names list to load from disk
FX_WIN
- Static variable in class org.game.JVirus.
Sound
Number of sound
fxs
- Static variable in class org.game.JVirus.
Sound
wav list
fxVolume
- Static variable in class org.game.JVirus.
Sound
sound volume
G
gameLifes
- Variable in class org.game.JVirus.
Avatar
whole game lifes
gameLifesCurrentLevel
- Variable in class org.game.JVirus.
Avatar
game lifes of current level
gameListener
- Variable in class org.game.JVirus.
ActionControl
callback function
gameListener
- Variable in class org.game.JVirus.
JVirusPanel
Call back Class from ActionControl
gameOver(int)
- Method in class org.game.JVirus.
ActionControl
edit the avatar and call the callback funktion
gameOver(int)
- Method in interface org.game.JVirus.
ActionControl.IGameListener
end of the game
gameOver(int)
- Method in class org.game.JVirus.
JVirusPanel.GameListener
game over
gamePaused
- Variable in class org.game.JVirus.
ActionControl
game paused or not
gameScore
- Variable in class org.game.JVirus.
Avatar
whole game score
gameScoreCurrentLevel
- Variable in class org.game.JVirus.
Avatar
game score of current level
gameStart
- Variable in class org.game.JVirus.
ActionControl
game running or not
getAvatar()
- Method in class org.game.JVirus.
ActionControl
return the current avatar
getBackgroundCount()
- Static method in class org.game.JVirus.
Sound
get music files count
getBlack()
- Method in class org.game.JVirus.
SwingTheme
getControlTextFont()
- Method in class org.game.JVirus.
SwingTheme
getLevelCount()
- Static method in class org.game.JVirus.
Levels
get the level count back
getLevels()
- Static method in class org.game.JVirus.
Levels
if call first time load the levels, if second time only get vecLevels back.
getListCellRendererComponent(JList, Object, int, boolean, boolean)
- Method in class org.game.JVirus.
JVirusPanel.ContinueGamePanel.LevelListRenderer
getMenuTextFont()
- Method in class org.game.JVirus.
SwingTheme
getName()
- Method in class org.game.JVirus.
SwingTheme
the name of this theme: "JVirus Theme"
getPosition()
- Method in class org.game.JVirus.
JVSlider
get current slider position
getPrimary1()
- Method in class org.game.JVirus.
SwingTheme
getPrimary2()
- Method in class org.game.JVirus.
SwingTheme
getPrimary3()
- Method in class org.game.JVirus.
SwingTheme
getSecondary1()
- Method in class org.game.JVirus.
SwingTheme
getSecondary2()
- Method in class org.game.JVirus.
SwingTheme
getSecondary3()
- Method in class org.game.JVirus.
SwingTheme
getSubTextFont()
- Method in class org.game.JVirus.
SwingTheme
getSystemTextFont()
- Method in class org.game.JVirus.
SwingTheme
getUserTextFont()
- Method in class org.game.JVirus.
SwingTheme
getWhite()
- Method in class org.game.JVirus.
SwingTheme
getWindowTitleFont()
- Method in class org.game.JVirus.
SwingTheme
gii
- Variable in class org.game.JVirus.
JVirusPanel.ContinueGamePanel.LevelListRenderer
GREENGATE
- Static variable in interface org.game.JVirus.
IFields
GREENKEY
- Static variable in interface org.game.JVirus.
IFields
greenPointImage
- Variable in class org.game.JVirus.
JVirusPanel
Image for solved or not solved levels.
H
helpViewer_scrollPane
- Variable in class org.game.JVirus.
JVirusPanel
if the user select help, the help panel is showing in this ScrollPane
hideDialogPanel()
- Method in class org.game.JVirus.
DisplayBackPanel
hide the message panel
hitRect
- Variable in class org.game.JVirus.
JVSlider.Dragger
I
IFields
- interface org.game.JVirus.
IFields
.
interface with constants.
ignoreStopEvent
- Static variable in class org.game.JVirus.
Sound
if the music track run to end it start again.
IM_DEFAULT
- Static variable in class org.game.JVirus.
Images
name list for a tile
IM_EMPTY
- Static variable in class org.game.JVirus.
Images
name list for a tile
IM_JGATE
- Static variable in class org.game.JVirus.
Images
name list for a tile
IM_LIFE
- Static variable in class org.game.JVirus.
Images
name list for a tile
IM_NOTHING
- Static variable in class org.game.JVirus.
Images
name list for a tile
imageArray
- Static variable in class org.game.JVirus.
Images
images list
Images
- class org.game.JVirus.
Images
.
static class for image loading.
infoScreen
- Variable in class org.game.JVirus.
JVirusPanel
reference to the InfoScreen of JVirusFrame
initFX()
- Static method in class org.game.JVirus.
Sound
init the sound system
initMidi()
- Static method in class org.game.JVirus.
Sound
init the music system
initSwing()
- Static method in class org.game.JVirus.
SwingTheme
static initialiser, called in the main class
INTEL
- Static variable in interface org.game.JVirus.
IFields
isPaused()
- Method in class org.game.JVirus.
ActionControl
is the game paused or not
isRunning()
- Method in class org.game.JVirus.
ActionControl
is the game started or not
J
jl_lifes
- Variable in class org.game.JVirus.
JVirusPanel
Label for life points
jl_score
- Variable in class org.game.JVirus.
JVirusPanel
Label for score points
JVirusFrame
- class org.game.JVirus.
JVirusFrame
.
Frame class for the JVirusPanel.
JVirusFrame.JVirusInfoScreen
- class org.game.JVirus.
JVirusFrame.JVirusInfoScreen
.
Infoscreen.
JVirusFrame.JVirusInfoScreen.Closer
- class org.game.JVirus.
JVirusFrame.JVirusInfoScreen.Closer
.
Closer for Infoscreen.
JVirusFrame.JVirusInfoScreen.Closer(JVirusFrame.JVirusInfoScreen)
- Constructor for class org.game.JVirus.
JVirusFrame.JVirusInfoScreen.Closer
JVirusFrame.JVirusInfoScreen(JVirusFrame, Frame)
- Constructor for class org.game.JVirus.
JVirusFrame.JVirusInfoScreen
Standart constructor.
JVirusFrame.WindowCloser
- class org.game.JVirus.
JVirusFrame.WindowCloser
.
Helper class for JVirusFrame to close it.
JVirusFrame.WindowCloser(JVirusFrame, JFrame)
- Constructor for class org.game.JVirus.
JVirusFrame.WindowCloser
Main constructor.
JVirusFrame()
- Constructor for class org.game.JVirus.
JVirusFrame
Main constructor for JVirusFrame.
JVirusPanel
- class org.game.JVirus.
JVirusPanel
.
Main panel.
JVirusPanel.ContinueGamePanel
- class org.game.JVirus.
JVirusPanel.ContinueGamePanel
.
the selection of level message
JVirusPanel.ContinueGamePanel.LevelListRenderer
- class org.game.JVirus.
JVirusPanel.ContinueGamePanel.LevelListRenderer
.
JList CellRenderer for level list.
JVirusPanel.ContinueGamePanel.LevelListRenderer(JVirusPanel.ContinueGamePanel)
- Constructor for class org.game.JVirus.
JVirusPanel.ContinueGamePanel.LevelListRenderer
JVirusPanel.ContinueGamePanel(JVirusPanel)
- Constructor for class org.game.JVirus.
JVirusPanel.ContinueGamePanel
simply constructor.
JVirusPanel.GameListener
- class org.game.JVirus.
JVirusPanel.GameListener
.
Callback listener for ActionControl
JVirusPanel.GameListener(JVirusPanel)
- Constructor for class org.game.JVirus.
JVirusPanel.GameListener
JVirusPanel.HelpViewer
- class org.game.JVirus.
JVirusPanel.HelpViewer
.
Panel that shows the Help HTML file
JVirusPanel.HelpViewer(JVirusPanel)
- Constructor for class org.game.JVirus.
JVirusPanel.HelpViewer
Simply constructor.
JVirusPanel.MenuActionListener
- class org.game.JVirus.
JVirusPanel.MenuActionListener
.
menu listener for menu and key events
JVirusPanel.MenuActionListener(JVirusPanel)
- Constructor for class org.game.JVirus.
JVirusPanel.MenuActionListener
JVirusPanel.MessagePanel
- class org.game.JVirus.
JVirusPanel.MessagePanel
.
Message panel for win or lose messages
JVirusPanel.MessagePanel(JVirusPanel, String)
- Constructor for class org.game.JVirus.
JVirusPanel.MessagePanel
simply constructor.
JVirusPanel.MusicActionListener
- class org.game.JVirus.
JVirusPanel.MusicActionListener
.
menu listener for music menu events (1-9 or music on/of)
JVirusPanel.MusicActionListener(JVirusPanel)
- Constructor for class org.game.JVirus.
JVirusPanel.MusicActionListener
JVirusPanel(JFrame, JVirusFrame.JVirusInfoScreen)
- Constructor for class org.game.JVirus.
JVirusPanel
Main constructor
jvs_midi
- Variable in class org.game.JVirus.
JVirusPanel
reference to slider of music control
jvs_sound
- Variable in class org.game.JVirus.
JVirusPanel
reference to slider of sound control
JVSlider
- class org.game.JVirus.
JVSlider
.
slider for music and siund volume
JVSlider.Dragger
- class org.game.JVirus.
JVSlider.Dragger
.
this class catch the mouse event to move the slider
JVSlider.Dragger(JVSlider)
- Constructor for class org.game.JVirus.
JVSlider.Dragger
JVSlider(int, int, int)
- Constructor for class org.game.JVirus.
JVSlider
main constructor.
K
keyPressed(KeyEvent)
- Method in class org.game.JVirus.
ActionControl
get the key events
keyReleased(KeyEvent)
- Method in class org.game.JVirus.
ActionControl
not used
keyTyped(KeyEvent)
- Method in class org.game.JVirus.
ActionControl
not used
L
lastLocation
- Variable in class org.game.JVirus.
JVSlider.Dragger
lastTimeAvatarMove
- Variable in class org.game.JVirus.
ActionControl
need to escape from stones
lastTrackNumber
- Static variable in class org.game.JVirus.
Sound
last played track
level
- Variable in class org.game.JVirus.
Display
reference to the level
level
- Variable in class org.game.JVirus.
ActionControl
reference to the level
level
- Variable in class org.game.JVirus.
Avatar
reference to the level.
LEVEL_CAN_NOT_SOLVE
- Static variable in class org.game.JVirus.
Avatar
must win first other level
LEVEL_CAN_SOLVE
- Static variable in class org.game.JVirus.
Avatar
constant for can solve level
level_list
- Variable in class org.game.JVirus.
JVirusPanel
List with levels
LEVEL_SOLVED
- Static variable in class org.game.JVirus.
Avatar
constant for solved levels
levelNumber
- Variable in class org.game.JVirus.
Matrix
level number in the level list
Levels
- class org.game.JVirus.
Levels
.
static class for level loading.
Levels()
- Constructor for class org.game.JVirus.
Levels
LIFE
- Static variable in interface org.game.JVirus.
IFields
lifesChanged(Avatar)
- Method in interface org.game.JVirus.
ActionControl.IGameListener
game lifes changed
lifesChanged(Avatar)
- Method in class org.game.JVirus.
JVirusPanel.GameListener
lifes from avatar changed
LINUX
- Static variable in interface org.game.JVirus.
IFields
loadAnimImage(String)
- Static method in class org.game.JVirus.
Images
load a animating image
loadAnimImage(String[])
- Static method in class org.game.JVirus.
Images
load a animating image
loadImage(String)
- Static method in class org.game.JVirus.
Images
load a image
loadImageArray(String[])
- Static method in class org.game.JVirus.
Images
load list of images
loadMatrix(File)
- Method in class org.game.JVirus.
Matrix
load the level from file
loadMatrix(InputStream)
- Method in class org.game.JVirus.
Matrix
load the level from InputStream
LOSE
- Static variable in interface org.game.JVirus.
ActionControl.IGameListener
constant for losing the game
loseMessage
- Variable in class org.game.JVirus.
JVirusPanel
Message if the user lose the level
loseMessage2
- Variable in class org.game.JVirus.
JVirusPanel
Message if the user lose the whole game
lx
- Variable in class org.game.JVirus.
Avatar
last position x of the avatar in the current level
ly
- Variable in class org.game.JVirus.
Avatar
last position y of the avatar in the current level
M
MAC
- Static variable in interface org.game.JVirus.
IFields
main
- class org.game.JVirus.
main
.
main class with main(String[] args) function. set the Swing theme and creates the main frame, nothing other.
main()
- Constructor for class org.game.JVirus.
main
main(String[])
- Static method in class org.game.JVirus.
main
static main function.
mainPanel
- Variable in class org.game.JVirus.
JVirusFrame
for JVirusPanel
mapOnScreen
- Variable in class org.game.JVirus.
Display
current display point of the level, if the level is bigger that the display size
matrix
- Variable in class org.game.JVirus.
Matrix
level tiles array
Matrix
- class org.game.JVirus.
Matrix
.
this class containt the level array.
Matrix(File)
- Constructor for class org.game.JVirus.
Matrix
Constructor. load the level from file
Matrix(InputStream)
- Constructor for class org.game.JVirus.
Matrix
Constructor. load the level from InputStream
Matrix(Matrix)
- Constructor for class org.game.JVirus.
Matrix
copy constructor
matrixToString()
- Method in class org.game.JVirus.
Matrix
convert the matrix to string to print it in the console
menuActionListener
- Variable in class org.game.JVirus.
JVirusPanel
Listener for menu events
messageBox_OK
- Variable in class org.game.JVirus.
JVirusPanel.MessagePanel
midiSequencer
- Static variable in class org.game.JVirus.
Sound
midi Sequencer
mouseClicked(MouseEvent)
- Method in class org.game.JVirus.
JVirusFrame.JVirusInfoScreen.Closer
from MouseAdapter
mouseDragged(MouseEvent)
- Method in class org.game.JVirus.
JVSlider.Dragger
mouseMoved(MouseEvent)
- Method in class org.game.JVirus.
JVSlider.Dragger
mousePressed(MouseEvent)
- Method in class org.game.JVirus.
JVSlider.Dragger
mouseReleased(MouseEvent)
- Method in class org.game.JVirus.
JVSlider.Dragger
move_direction
- Variable in class org.game.JVirus.
Avatar
running in the left or right direction
moveAvatar(Avatar)
- Method in class org.game.JVirus.
Display
repaint the avatar only in the back buffer
moveAvatar(int, int, int, int)
- Method in class org.game.JVirus.
ActionControl
next move from user
musicActionListener
- Variable in class org.game.JVirus.
JVirusPanel
Listener for music choose and music on/off events
musicVolume
- Static variable in class org.game.JVirus.
Sound
music volume
muteMenu
- Variable in class org.game.JVirus.
JVirusPanel
reference to the music on/off menu
N
name
- Variable in class org.game.JVirus.
JVirusPanel.ContinueGamePanel.LevelListRenderer
name
- Variable in class org.game.JVirus.
Matrix
name of level
nextImage()
- Method in class org.game.JVirus.
AnimImage
get the current image.
nextMove()
- Method in class org.game.JVirus.
ActionControl
next move from thread
NOTHING
- Static variable in interface org.game.JVirus.
IFields
number
- Variable in class org.game.JVirus.
AnimImage
current image number
O
org.game.JVirus
- package org.game.JVirus
org.game.JVirus.res
- package org.game.JVirus.res
P
paintComponent(Graphics)
- Method in class org.game.JVirus.
Display
paintComponent overwritten to paint the back buffer
paintComponent(Graphics)
- Method in class org.game.JVirus.
JVSlider
paintComponent overwritten to draw the slider
parent
- Variable in class org.game.JVirus.
ActionControl
reference to the JVirusFrame
parent
- Variable in class org.game.JVirus.
JVirusPanel
reference to the JVirusFrame
pause
- Variable in class org.game.JVirus.
ActionControl.ActionControlRunner
pauseGame(boolean)
- Method in class org.game.JVirus.
ActionControl
pause the game
pauseRunner(boolean)
- Method in class org.game.JVirus.
ActionControl.ActionControlRunner
pauses the while thread loop
playBackground(int)
- Static method in class org.game.JVirus.
Sound
play a music files
playFX(int)
- Static method in class org.game.JVirus.
Sound
play a wav
playLastBackground()
- Static method in class org.game.JVirus.
Sound
point
- Variable in class org.game.JVirus.
JVirusPanel.ContinueGamePanel.LevelListRenderer
primary1
- Static variable in class org.game.JVirus.
SwingTheme
primary2
- Static variable in class org.game.JVirus.
SwingTheme
primary3
- Static variable in class org.game.JVirus.
SwingTheme
Q
quitGame()
- Method in class org.game.JVirus.
JVirusPanel
ask the user if he want to quit the game.
R
REDGATE
- Static variable in interface org.game.JVirus.
IFields
REDKEY
- Static variable in interface org.game.JVirus.
IFields
redPointImage
- Variable in class org.game.JVirus.
JVirusPanel
Image for solved or not solved levels.
removeChangeListener(ChangeListener)
- Method in class org.game.JVirus.
JVSlider
remove callback listener
removeGate(char)
- Method in class org.game.JVirus.
ActionControl
search for the gate that pass and remove that
repaintAnimTiles(Avatar)
- Method in class org.game.JVirus.
Display
repaints only the animated tiles in the back buffer
repaintMatrix()
- Method in class org.game.JVirus.
Display
repaints the whole back buffer
repaintMatrix(Avatar)
- Method in class org.game.JVirus.
Display
repaints the whole back buffer and the avatar
reset()
- Method in class org.game.JVirus.
AnimImage
reset image counter to 0
reset(Matrix)
- Method in class org.game.JVirus.
Display
set the new level and repaint the back buffer
resetAvatar()
- Method in class org.game.JVirus.
ActionControl
reset the scores and lifes of the avatar.
Resource
- class org.game.JVirus.res.
Resource
.
this class has no function.
Resource()
- Constructor for class org.game.JVirus.res.
Resource
rii
- Variable in class org.game.JVirus.
JVirusPanel.ContinueGamePanel.LevelListRenderer
run
- Variable in class org.game.JVirus.
ActionControl.ActionControlRunner
run()
- Method in class org.game.JVirus.
ActionControl.ActionControlRunner
runner
- Variable in class org.game.JVirus.
ActionControl
thread to for animated objects
S
scoreChanged(Avatar)
- Method in interface org.game.JVirus.
ActionControl.IGameListener
game score changed
scoreChanged(Avatar)
- Method in class org.game.JVirus.
JVirusPanel.GameListener
score from avatar changed
scoreTab
- Static variable in class org.game.JVirus.
Matrix
score for every field.
secondary1
- Static variable in class org.game.JVirus.
SwingTheme
secondary2
- Static variable in class org.game.JVirus.
SwingTheme
secondary3
- Static variable in class org.game.JVirus.
SwingTheme
set_byte
- Variable in class org.game.JVirus.
ActionControl
clear byte
setBackgroundMute(boolean)
- Static method in class org.game.JVirus.
Sound
set the music to mute
setBackgroundVolume(int)
- Static method in class org.game.JVirus.
Sound
set the music volume
setFXVolume(int)
- Static method in class org.game.JVirus.
Sound
set sound volume
setLevel(Matrix, int, int)
- Method in class org.game.JVirus.
Avatar
set the current playing level
setSliderPosition(int)
- Method in class org.game.JVirus.
JVSlider
set the current position and send a event to the listeners
showDialogPanel(Component)
- Method in class org.game.JVirus.
DisplayBackPanel
show the message panel
sliderMax
- Variable in class org.game.JVirus.
JVSlider
max value of slider
sliderMin
- Variable in class org.game.JVirus.
JVSlider
min value of slider
sliderPos
- Variable in class org.game.JVirus.
JVSlider
current slider position
solvedLevels
- Variable in class org.game.JVirus.
Avatar
array of solved levels
Sound
- class org.game.JVirus.
Sound
.
Sound system of JVirus.
sound_menus
- Variable in class org.game.JVirus.
JVirusPanel
List of references to music menus (1-9)
sound_random
- Variable in class org.game.JVirus.
JVirusPanel
for Random selection of the background music
START
- Static variable in interface org.game.JVirus.
IFields
startGame(Matrix)
- Method in class org.game.JVirus.
ActionControl
start the game
startGame(Matrix)
- Method in class org.game.JVirus.
JVirusPanel
start the game
stateChanged(ChangeEvent)
- Method in class org.game.JVirus.
JVirusPanel.MusicActionListener
STONE
- Static variable in interface org.game.JVirus.
IFields
stopBackground()
- Static method in class org.game.JVirus.
Sound
stop music
stopGame()
- Method in class org.game.JVirus.
ActionControl
stop the game
stopGame()
- Method in class org.game.JVirus.
JVirusPanel
stop the game
stopRunner()
- Method in class org.game.JVirus.
ActionControl.ActionControlRunner
stop and exit from thread loop
SwingTheme
- class org.game.JVirus.
SwingTheme
.
black and green Swing theme for JVirus
T
TILE_HEIGHT
- Static variable in class org.game.JVirus.
Display
tile height 64 pixel
TILE_WIDTH
- Static variable in class org.game.JVirus.
Display
tile width 64 pixel
toString()
- Method in class org.game.JVirus.
Matrix
return the name of this level
TREASURE
- Static variable in interface org.game.JVirus.
IFields
U
UNIX
- Static variable in interface org.game.JVirus.
IFields
V
vecEventListener
- Variable in class org.game.JVirus.
JVSlider
callback listener list
vecLevels
- Static variable in class org.game.JVirus.
Levels
container for loaded levels
vecLevels
- Variable in class org.game.JVirus.
JVirusPanel
the array of avable levels
W
WALL1
- Static variable in interface org.game.JVirus.
IFields
WALL2
- Static variable in interface org.game.JVirus.
IFields
WALL3
- Static variable in interface org.game.JVirus.
IFields
WALL4
- Static variable in interface org.game.JVirus.
IFields
WALL5
- Static variable in interface org.game.JVirus.
IFields
white
- Static variable in class org.game.JVirus.
SwingTheme
WIN
- Static variable in interface org.game.JVirus.
ActionControl.IGameListener
constant for winning the game
windowClosing(WindowEvent)
- Method in class org.game.JVirus.
JVirusFrame.WindowCloser
from WindowAdapter.
WINDOWS
- Static variable in interface org.game.JVirus.
IFields
winMessage
- Variable in class org.game.JVirus.
JVirusPanel
Message if the user win the level
winMessage2
- Variable in class org.game.JVirus.
JVirusPanel
Message if the user win the whole game
X
x
- Variable in class org.game.JVirus.
Avatar
position x of the avatar in the current level
Y
y
- Variable in class org.game.JVirus.
Avatar
position y of the avatar in the current level
yellowPointImage
- Variable in class org.game.JVirus.
JVirusPanel
Image for solved or not solved levels.
yii
- Variable in class org.game.JVirus.
JVirusPanel.ContinueGamePanel.LevelListRenderer
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES