A B C D E F G H I L M N O P R S T U V W 

A

aBeamer - Variable in class Player
 
actionPerformed(ActionEvent) - Method in class UserInterface
Actionlistener interface for entry textfield.
addItem(String, Item) - Method in class ItemList
Ajoute un objet a la liste.
addItem(String, Item) - Method in class Player
 
addItem(String, Item) - Method in class Room
 
aDescription - Variable in class Item
 
aInventaire - Variable in class Player
 
aItemcurrentRoom - Variable in class Item
 
aItemName - Variable in class Item
 
aItems - Variable in class Room
 
aMaxMove - Variable in class GameEngine
 
aMaxPoids - Variable in class Player
 
aMove - Variable in class GameEngine
 
aName - Variable in class Player
 
aPlayer - Variable in class GameEngine
 
aPoids - Variable in class Item
 
aPoidsJoueur - Variable in class Player
 

B

backRoom() - Method in class GameEngine
 
bibliotheque - Variable in class GameEngine
 

C

cabane - Variable in class GameEngine
 
chambrebleue - Variable in class GameEngine
 
chambrerouge - Variable in class GameEngine
 
chambreverte - Variable in class GameEngine
 
changeRoom(Room) - Method in class Player
 
chargeBeamer() - Method in class Player
Charger the beamer to the current room
charger() - Method in class GameEngine
 
Command - Class in <Unnamed>
This class is part of the "Pere-noel" application.
Command(CommandWord, String) - Constructor for class Command
Create a command object.
commande - Variable in class GameEngine
 
commands - Variable in class Parser
 
commandString - Variable in enum CommandWord
 
commandWord - Variable in class Command
 
CommandWord - Enum in <Unnamed>
This class is part of the "Pere-noel" application.
CommandWord(String) - Constructor for enum CommandWord
Initialise with the corresponding command word.
CommandWords - Class in <Unnamed>
This class is part of the "Pere-noel" application.
CommandWords() - Constructor for class CommandWords
Constructor - initialise the command words.
couloir - Variable in class GameEngine
 
cour - Variable in class GameEngine
 
createGUI() - Method in class UserInterface
Set up graphical user interface.
createRooms() - Method in class GameEngine
Create all the rooms and link their exits together.
cuisine - Variable in class GameEngine
 
currentRoom - Variable in class Player
 

D

Dead() - Method in class GameEngine
 
description - Variable in class Room
 
dressing - Variable in class GameEngine
 
drop(Command) - Method in class GameEngine
Command Drop

E

East - Variable in class UserInterface
 
eat(Command) - Method in class GameEngine
 
enable(boolean) - Method in class UserInterface
Enable or disable input in the input field.
endGame() - Method in class GameEngine
 
engine - Variable in class Game
 
engine - Variable in class UserInterface
 
entryField - Variable in class UserInterface
 
existItem(String) - Method in class ItemList
Teste si l'ojet existe.
exits - Variable in class Room
 

F

fireBeamer() - Method in class Player
Fires the beamer

G

Game - Class in <Unnamed>
This class is the main class of the "Pere Noel" application.
Game() - Constructor for class Game
Create the game and initialise its internal map.
GameEngine - Class in <Unnamed>
This class is part of the "Pere-Noel" application.
GameEngine() - Constructor for class GameEngine
Constructor for objects of class GameEngine
getCommand(String) - Method in class Parser
 
getCommandWord() - Method in class Command
Return the command word (the first word) of this command.
getCommandWord(String) - Method in class CommandWords
 
getcurrentRoom() - Method in class Player
/ * Accesseur
getDescription() - Method in class Room
 
getExit(String) - Method in class Room
7.6
getExitString() - Method in class Room
Renvoie une description des sorties de la pièce, par exemple, "Sorties : nord ouest".
getImageName() - Method in class Room
Return a string describing the room's image name
getInventory() - Method in class Player
 
getItem(String) - Method in class ItemList
Renvoie l'ojet grace a son nom.
getItem(String) - Method in class Player
Accesseur
getItem(String) - Method in class Room
Accessor
getItemDescription() - Method in class Item
 
getItemPlayer() - Method in class ItemList
 
getItemPoids() - Method in class Item
Renvoie la description et le poids de l'objet
getkeySet() - Method in class ItemList
 
getLongDescription() - Method in class Player
 
getLongDescription() - Method in class Room
7.11 Renvoie une description detaille de cette piece sous la forme : Vous etes dans la cuisine.
getLongItem1Description() - Method in class Item
 
getName() - Method in class Item
 
getName() - Method in class Player
Donne le nom du joueur
getNombreObjet(Item) - Method in class Room
 
getObjetString() - Method in class Room
 
getPlayerPoids() - Method in class Player
 
getSecondWord() - Method in class Command
See "Returns" comment.
goRoom(Command) - Method in class GameEngine
Try to go to one direction.
gui - Variable in class Game
 
gui - Variable in class GameEngine
 

H

hasSecondWord() - Method in class Command
See "Returns" comment.
help - Variable in class UserInterface
 

I

image - Variable in class UserInterface
 
imageName - Variable in class Room
 
interpretCommand(String) - Method in class GameEngine
Given a command, process (that is: execute) the command.
inventaire() - Method in class GameEngine
 
isCommand(String) - Method in class CommandWords
Check whether a given String is a valid command word.
isUnknown() - Method in class Command
See "Returns" comment.
Item - Class in <Unnamed>
This class is part of the "Pere-noel" application.
Item(String, String, double) - Constructor for class Item
Constructeur pour les objets de la classe Item.
Item() - Constructor for class Item
 
ItemList - Class in <Unnamed>
This class is part of the "Pere-noel" application.
ItemList() - Constructor for class ItemList
Constructeur de la liste d'objets avec l'outil HashMap.
ItemList - Variable in class ItemList
 

L

lagrandechambre - Variable in class GameEngine
 
ListeObjets - Variable in class Room
 
log - Variable in class UserInterface
 
look() - Method in class GameEngine
 

M

maxPoids() - Method in class Player
 
myFrame - Variable in class UserInterface
 

N

North - Variable in class UserInterface
 

O

Objets - Variable in class GameEngine
 

P

parser - Variable in class GameEngine
 
Parser - Class in <Unnamed>
This class is part of the "Pere-noel" application.
Parser() - Constructor for class Parser
Create a parser to read from the terminal window.
placard - Variable in class GameEngine
 
Player - Class in <Unnamed>
This class is part of the "Pere-noel" application.
Player(String, Room) - Constructor for class Player
constructeur de la classe player
print(String) - Method in class UserInterface
Print out some text into the text area.
printHelp() - Method in class GameEngine
Print out some help information.
println(String) - Method in class UserInterface
Print out some text into the text area, followed by a line break.
PrintVictoire() - Method in class GameEngine
 
printWelcome() - Method in class GameEngine
Print out the opening message for the player.
processCommand() - Method in class UserInterface
A command has been entered.

R

reader - Variable in class Parser
 
removeItem(String) - Method in class ItemList
Supprime l'objet.
removeItem(String) - Method in class Player
 
removeItem(String) - Method in class Room
 
Room - Class in <Unnamed>
Class Room - a room in an adventure game.
Room(String, String) - Constructor for class Room
Create a room described "description".

S

salledebain - Variable in class GameEngine
 
salledejeu - Variable in class GameEngine
 
salon - Variable in class GameEngine
 
secondWord - Variable in class Command
 
setcurrentRoom(Room) - Method in class Player
Modificateur
setExit(String, Room) - Method in class Room
Definit une sortie pour cette pièce.
setExits(String, Room) - Method in class Room
Define the exits of this room.
setGUI(UserInterface) - Method in class GameEngine
 
setItem(String, Item) - Method in class Room
Definit une sortie pour cette pièce.
setMaxPoids(int) - Method in class Player
Modificateur
setObjets(Item, int) - Method in class Room
Definir les objets de la piece sous forme de liste
showAll() - Method in class CommandWords
Retourne une String de toutes les commandes possibles.
showCommands() - Method in class Parser
Print out a list of valid command words.
showImage(String) - Method in class UserInterface
Show an image file in the interface.
South - Variable in class UserInterface
 
stack - Variable in class GameEngine
 
stack - Variable in class Player
 

T

take(Command) - Method in class GameEngine
Permet de prendre un objet
test(Command) - Method in class GameEngine
 
toString() - Method in enum CommandWord
 

U

UserInterface - Class in <Unnamed>
This class is part of the "Pere-noel" application.
UserInterface(GameEngine) - Constructor for class UserInterface
Construct a UserInterface.
utiliser() - Method in class GameEngine
 

V

validCommands - Variable in class CommandWords
 
valueOf(String) - Static method in enum CommandWord
Returns the enum constant of this type with the specified name.
values() - Static method in enum CommandWord
Returns an array containing the constants of this enum type, in the order they are declared.

W

WC - Variable in class GameEngine
 
West - Variable in class UserInterface
 
A B C D E F G H I L M N O P R S T U V W