A B C D E G H I L P R S T U V W 
All Classes All Packages

A

abtnAide - Variable in class UserInterface
 
abtnAttraper - Variable in class UserInterface
 
abtnBack - Variable in class UserInterface
 
abtnBas - Variable in class UserInterface
 
abtnEst - Variable in class UserInterface
 
abtnHaut - Variable in class UserInterface
 
abtnNord - Variable in class UserInterface
 
abtnOuest - Variable in class UserInterface
 
abtnQuit - Variable in class UserInterface
 
abtnSud - Variable in class UserInterface
 
aButtons - Variable in class UserInterface
 
aCharge - Variable in class Beamer
 
aCommandWords - Variable in class Parser
 
aCounterRequestMax - Variable in class GameEngine
 
aCounterRequestMaxTotal - Variable in class GameEngine
 
aCounterRequestPourcentage - Variable in class GameEngine
 
actionPerformed(ActionEvent) - Method in class UserInterface
Actionlistener interface for entry textfield.
aCurrentRoom - Variable in class Player
 
aDate - Variable in class GameEngine
 
aDateActualString - Variable in class GameEngine
 
aDateBeginString - Variable in class GameEngine
 
aDateEndHours - Variable in class GameEngine
 
aDateEndMin - Variable in class GameEngine
 
aDateEndString - Variable in class GameEngine
 
addItem(String, Item) - Method in class Room
Pour ajouter des items dans la pièce.
aDescription - Variable in class Item
 
aEngine - Variable in class Game
 
aEngine - Variable in class UserInterface
 
aEnigme - Variable in class Room
 
aEntryField - Variable in class UserInterface
 
aGui - Variable in class Game
 
aGui - Variable in class GameEngine
 
aGui - Variable in class Player
 
aImage - Variable in class UserInterface
 
aImageName - Variable in class Room
 
aInputCounter - Variable in class Player
 
aInventory - Variable in class ItemList
 
aInventory - Variable in class Player
 
aInventoryRoom - Variable in class Room
 
aItem - Variable in class Room
 
aItemPoidsMax - Variable in class Player
 
aLog - Variable in class UserInterface
 
aModeJeu - Variable in class GameEngine
 
aMyFrame - Variable in class UserInterface
 
aNomJoueur - Variable in class Player
 
aNomRoom - Variable in class Room
 
aParser - Variable in class GameEngine
 
aPlayer - Variable in class GameEngine
 
aPoids - Variable in class Item
 
aPoids - Variable in class Player
 
aPoidsActuel - Variable in class Player
 
aRoomCharge - Variable in class Beamer
 
aSHours - Variable in class GameEngine
 
aSMin - Variable in class GameEngine
 
aStackPreviousRoom - Variable in class Player
 
aSTime - Variable in class GameEngine
 
aTempsModeJeu1 - Variable in class GameEngine
 
aTempsModeJeu2 - Variable in class GameEngine
 
aTempsModeJeu3 - Variable in class GameEngine
 
aTrapDoor - Variable in class Room
 

B

b - Variable in class GameEngine
 
back(Command) - Method in class GameEngine
Permet de retourner en arrière.
backPlayer() - Method in class Player
Back player - complète la procédure back de game engine.
Beamer - Class in <Unnamed>
Décrivez votre classe Beamer ici.
Beamer() - Constructor for class Beamer
 
Beamer(int, String) - Constructor for class Beamer
 

C

charge(Command) - Method in class GameEngine
Permet de charger le beamer.
charge(Room) - Method in class Beamer
 
clearText() - Method in class UserInterface
Efface le texte de l'interface graphique Méthode appelée pour effacer l'historique des affichages à la fin du jeu pour afficher le message final.
Command - Class in <Unnamed>
This class is the main class of the "World of Zuul" application.
Command(String, String) - Constructor for class Command
Create a command object.
commandWord - Variable in class Command
 
CommandWords - Class in <Unnamed>
 
CommandWords() - Constructor for class CommandWords
Constructor - initialise the command words.
counterone() - Method in class GameEngine
Procédure permettant d'incrémenter de 1 le nombre de requêtes qu'a effectué le joueur.
createGUI() - Method in class UserInterface
Set up graphical user interface.
createRooms() - Method in class GameEngine
Crée toutes les rooms, initialise leurs images et lie leurs sorties.

D

description - Variable in class Room
 
discharge() - Method in class Beamer
 
drop(Command) - Method in class GameEngine
Permet de lacher l'objet attrapé.
dropItem(String, Item) - Method in class Player
Drop item pour lacher un objet pris

E

eat(Command) - Method in class GameEngine
Pour manger un magiccookie ou un objet.
enable(boolean) - Method in class UserInterface
Enable or disable input in the input field.
endGame() - Method in class GameEngine
Arret du jeu : affichage d'un message d'au revoir et arrêt de l'interface graphique.
endHour(int) - Method in class GameEngine
endHour pour calculer l'heure finale à partie de l'heure actuelle.
enigmes() - Method in class GameEngine
Permet d'afficher les énigmes présentes dans chaque pièce.
exits - Variable in class Room
 

G

g - Variable in class GameEngine
 
Game - Class in <Unnamed>
This class is the main class of the "World of Zuul" application.
Game(String, int) - Constructor for class Game
Crée le jeu et initialise sa cartographie interne.
GameEngine - Class in <Unnamed>
 
GameEngine(String, int) - Constructor for class GameEngine
Constructeur d'objets de la classe GameEngine
getCommand(String) - Method in class Parser
Get a new command from the user.
getCommandList() - Method in class CommandWords
returns a String of all valid commands.
getCommandString() - Method in class Parser
Returns a String with valid command words.
getCommandWord() - Method in class Command
Return the command word (the first word) of this command.
getCurrentItem(String) - Method in class ItemList
getCurrentItem
getCurrentRoom() - Method in class Player
Accesseur de l'emplacement actuel
getDescription() - Method in class Item
Accesseur description item
getEnigme() - Method in class Room
Accesseur des énigmes
getExit(String) - Method in class Room
Return the room that is reached if we go from this room in direction "direction".
getExitString() - Method in class Room
Return a string describing the room's exits, for example "Exits: north west".
getImageName() - Method in class Room
 
getInputCounter() - Method in class Player
Accesseur du compteur d'entrées / de saisies.
getItem(String) - Method in class Player
getItem accesseur
getItem(String) - Method in class Room
getItem
getItemPoidsMax() - Method in class Player
Accesseur du poids max de l'item que le joueur peut porter.
getItemsDescription() - Method in class Room
Retourne la description des items.
getItemsDescriptionPlayer() - Method in class Player
getItemsDescriptionPlayer() : retourne une string contenant la description des items du joueur.
getItemString() - Method in class ItemList
Retourne la liste des items disponibles dans chaque pièce avec retour à la ligne.
getItemStringInventaire() - Method in class ItemList
Retourne les items pris par le joueur.
getItemStringWin() - Method in class ItemList
Equivalent à getItemString() mais retourne les items les uns après les autres sans retour à la ligne.
getItemWin() - Method in class Room
Accesseur de ItemWin
getLongDescription() - Method in class Room
Return a long description of this room, in the form: You are in the kitchen.
getNomItem() - Method in class Item
Accesseur nom item
getNomJoueur() - Method in class Player
Accesseur du nom du joueur
getNomRoom() - Method in class Room
Accesseur de aNomRoom
getPoids() - Method in class Item
Accesseur poids item
getPoidsPlayer() - Method in class Player
Accesseur du poids total du joueur avec les items
getRoomCharge() - Method in class Beamer
 
getSecondWord() - Method in class Command
Return the second word of this command.
getShortDescription() - Method in class Item
Accesseur description item
getShortDescription() - Method in class Room
Return the description of the room (the one that was defined in the constructor).
getStackPreviousRoom() - Method in class Player
Accesseur de l'emplacement précédent
getTrapDoor() - Method in class Room
Accesseur de trapdoor.
goRoom(Command) - Method in class GameEngine
Essaye d'aller dans une direction.
goRoomPlayer(Room) - Method in class Player
goRoomPlayer

H

hasSecondWord() - Method in class Command
Return true if the command has a second word.

I

interpretCommand(String) - Method in class GameEngine
Prend une commande en paramètre et traite, exécute la commande.
inventaire() - Method in class GameEngine
Permet d'afficher l'inventaire des items attrapés et mangés et de leur poids sous forme de liste.
isCharged() - Method in class Beamer
 
isCommand(String) - Method in class CommandWords
Check whether a given String is a valid command word.
isUnknown() - Method in class Command
Return true if this command was not understood.
Item - Class in <Unnamed>
Item class.
Item(int, String) - Constructor for class Item
default constructor for objects of class Item
ItemList - Class in <Unnamed>
 
ItemList() - Constructor for class ItemList
Constructeur

L

look() - Method in class GameEngine
Permet d'afficher la description de la pièce courante et d'afficher le nombre de requêtes effectuées (timelimit)

P

Parser - Class in <Unnamed>
 
Parser() - Constructor for class Parser
Create a new Parser.
Player - Class in <Unnamed>
Classe player servant à personnaliser le jeu : nom du joueur, pièce de départ pouvant être choisie, etc.
Player(String, Room) - Constructor for class Player
Constructeur naturel d'objets de classe Player
print(String) - Method in class UserInterface
Print out some text into the text area.
printBold(String, Color) - Method in class UserInterface
Print out some text into the text area.
printHelp() - Method in class GameEngine
Afficher des informations d'aide.
println(String) - Method in class UserInterface
Print out some text into the text area, followed by a line break.
printLocationInfo() - Method in class GameEngine
Print location info Pour afficher la description de la piece courante dans laquelle se situe le joueur.
printWelcome() - Method in class GameEngine
Afficher le message de bienvenue au joueur avec toutes les informations nécessaires : - Présentation du jeu et objectif
processCommand() - Method in class UserInterface
A command has been entered.
putItem(String, Item) - Method in class ItemList
putItem

R

r - Variable in class GameEngine
 
removeItem(String) - Method in class ItemList
removeItem
removeItem(String, Item) - Method in class Room
Pour retirer des items dans la pièce.
Room - Class in <Unnamed>
Class Room - a room in an adventure game.
Room(String, String, String, String) - Constructor for class Room
Create a room described "description" with a given image.

S

secondWord - Variable in class Command
 
setCurrentRoom(Room) - Method in class Player
Modificateur de l'emplacement actuel
setExit(String, Room, boolean) - Method in class Room
Define an exit from this room.
setGUI(UserInterface) - Method in class GameEngine
SetGUI
setInputCounter(int) - Method in class Player
Modificateurs du compteur d'entrées / de saisies.
setItem(Item) - Method in class Room
setItem
setItemPoidsMax(double) - Method in class Player
Modificateur du poids max de l'item que le joueur peut porter.
setNomJoueur(String) - Method in class Player
Modificateur du nom du joueur
setPoidsPlayer(double) - Method in class Player
Modificateur du poids total du joueur avec les items
setStackPreviousRoom(Room) - Method in class Player
Modificateur de l'emplacement précédent
showImage(String) - Method in class UserInterface
Affiche une image sur l'user interface.

T

take(Command) - Method in class GameEngine
Permet de prendre un item.
takeItem(String, Item) - Method in class Player
Take item pour prendre l'item de la pièce
teleport(Command) - Method in class GameEngine
Teleport
test(Command) - Method in class GameEngine
Utilisation de fichiers de test .txt pour vérifier le bon fonctionnement du jeu.
timelimit() - Method in class GameEngine
Permet de compter le nombre de requetes effectuées par le joueur et d'alerter le joueur lorsqu'il a utilisé plus d'1/3 des commandes et d'arrêter le jeu lorsque le nombre maximal de requêtes autorisées est dépassé.
tooHeavyItem(double) - Method in class Player
Méthode booléenne pour voir si l'item est trop lourd à porter ou non (poids du joueur inclus).

U

UserInterface - Class in <Unnamed>
This class implements a simple graphical user interface with a text entry area, a text output area and an optional image.
UserInterface(GameEngine) - Constructor for class UserInterface
Construct a UserInterface.

V

validCommands - Static variable in class CommandWords
 
vPanel1 - Variable in class UserInterface
 
vPanel2 - Variable in class UserInterface
 

W

win() - Method in class GameEngine
Permet de vérifier si le joueur à gagné ou non et si oui d'afficher un message et d'arrêter le jeu.
A B C D E G H I L P R S T U V W 
All Classes All Packages