A C F G I K L M R S W

A

actionPerformed(ActionEvent) - Method in class MineSweep3D
handles the menu tasks

C

callLogicOnMouseEvent(MouseEvent, int) - Method in class MineCore
Helper method for mouseevents this routine act as a pipeline betwen logic engine and graphic it handles needed coordinate transformation.
CAMERA_RELATIVE_TEXT_FACTOR - Static variable in class MineSweep3D
 
CAMERA_SCALE_FACTOR - Static variable in class MineSweep3D
 
ClickHandler - class ClickHandler.
Stores information about a pick hit and return its result
ClickHandler(Canvas3D, BranchGroup) - Constructor for class ClickHandler
Default constructor.
createSceneGraph(Canvas3D) - Method in class MineCore
This is the main routine that builds up the DAG tree which holds all the objects used in the scene it sets up mouse listening, picking and light.
Cube - class Cube.
 
Cube() - Constructor for class Cube
Constructs a color cube with unit scale.
Cube(double) - Constructor for class Cube
Constructs a color cube with the specified scale.

F

fixCameraPosition() - Method in class MineSweep3D
fix cameras position relative gitter, bigger gitter camera further back

G

get() - Method in class Gitter
Gets the gitter.
getClickResult(MouseEvent) - Method in class ClickHandler
Get the PickResult from a MouseEvent.
getGitterSize() - Method in class MineCore
Gets the size of gitter.
getNumOfMines() - Method in class MineCore
Gets the amount of mines for current game see MineCore.setNumOfMines(int)
getOrigo() - Method in class Gitter
returns origo
getSceneGraphRoot() - Method in class MineCore
Gets root of tree
getState(BranchGroup, Vector3f, int) - Method in class Gitter
gets the state on a gitter node
getUnityLength() - Method in class Gitter
returns abs of unity vector
Gitter - class Gitter.
Handles grouping of objects to form a gitter of objects
Gitter() - Constructor for class Gitter
Default constructor.

I

init() - Method in class MineCore
Init routine creates new Gitter and Logic engine objects.
init() - Method in class MineSweep3D
Init routine called from main.

K

keyPressed(KeyEvent) - Method in class MineSweep3D
Key pressed
keyReleased(KeyEvent) - Method in class MineSweep3D
Key released
keyTyped(KeyEvent) - Method in class MineSweep3D
Key typed
klicka(int, int, int, int) - Static method in class Logik
Generates the changes and returns them.

L

loadBackground(TextureLoader) - Method in class MineCore
Loads background
loadBackgroundMusic(MediaContainer) - Method in class MineCore
Deprecated. As of v1.2, replaced by MineCore.loadSounds(Hashtable)
loadSounds(Hashtable) - Method in class MineCore
Load sounds used in scene
loadTextures(Hashtable) - Method in class MineCore
Load Textures used in gitter
loadTextures(Texture[]) - Method in class MineCore
Deprecated. As of v1.2, replaced by MineCore.loadTextures(Hashtable)
Logik - class Logik.
Runs i all.
Logik() - Constructor for class Logik
 
loose() - Static method in class MineSweep3D
popup window when loosing the game deprecated as of version 1.2

M

main(String[]) - Static method in class MineSweep3D
 
Mine - class Mine.
Builds a mine object with help from primitives.
Mine(float) - Constructor for class Mine
Default constructor
MineCore - class MineCore.
 
MineCore() - Constructor for class MineCore
default constructor not used.
MineSweep3D - class MineSweep3D.
 
MineSweep3D() - Constructor for class MineSweep3D
 
mouseClicked(MouseEvent) - Method in class MineSweep3D
Implement MouseEvent.
mouseEntered(MouseEvent) - Method in class MineSweep3D
 
mouseExited(MouseEvent) - Method in class MineSweep3D
 
mousePressed(MouseEvent) - Method in class MineSweep3D
 
mouseReleased(MouseEvent) - Method in class MineSweep3D
mouse release

R

registerWindowListener(JFrame) - Static method in class MineSweep3D
handles the event of closing the window
reset() - Method in class Logik
 
reset() - Method in class MineCore
Reset logic engine and gitter
reset(BranchGroup) - Method in class Gitter
 
resetChangeSize() - Method in class MineCore
Reset logic engine, gitter and change the size on game.
run() - Method in class MineCore
Run method, creates the games size.

S

set(Group) - Method in class Gitter
Set the gitter
setGitter(int, Hashtable) - Method in class Gitter
 
setGitterSize(int) - Method in class MineCore
Sets the size of gitter.
setMessageOff(BranchGroup) - Method in class MineCore
Sets message to be hidden
setMessageOn(BranchGroup) - Method in class MineCore
Sets message to be shown
setMessageText(BranchGroup, float, Vector3f, String) - Method in class MineCore
Sets the text to be shown
setNumOfMines(int) - Method in class MineCore
Sets the amount of mines for current game
setState(BranchGroup, Vector3f, int) - Method in class Gitter
sets the state on a gitter Node
setTime(Vector3f, String) - Method in class MineCore
Sets the time text
skapaSpelfält(int, int) - Static method in class Logik
Creates the playfield for the game MineSweep3D

W

win(String) - Static method in class MineSweep3D
popup window when winning the game deprecated as of version 1.2

A C F G I K L M R S W