aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-05-29 01:21:28 +0200
committerPacien TRAN-GIRARD2014-05-29 01:22:50 +0200
commit1f4c3072310613facdbe318098762e79a1ed6970 (patch)
tree2e495d8c60d2a0b6787f4d4ebd5e9d08ef33fa4a /src
parentda9bbc02e3d707a947297750df6b7ea7f6b47a21 (diff)
downloadesieequest-1f4c3072310613facdbe318098762e79a1ed6970.tar.gz
Reorganise packages
Diffstat (limited to 'src')
-rwxr-xr-xsrc/esieequest/Main.java12
-rw-r--r--src/esieequest/engine/Callback.java (renamed from src/esieequest/controller/Callback.java)2
-rw-r--r--src/esieequest/engine/GameEngine.java (renamed from src/esieequest/controller/GameEngine.java)22
-rw-r--r--src/esieequest/engine/Input.java (renamed from src/esieequest/controller/Input.java)4
-rw-r--r--src/esieequest/engine/commands/AleaCommand.java (renamed from src/esieequest/controller/commands/AleaCommand.java)12
-rw-r--r--src/esieequest/engine/commands/BackCommand.java (renamed from src/esieequest/controller/commands/BackCommand.java)8
-rw-r--r--src/esieequest/engine/commands/Command.java (renamed from src/esieequest/controller/commands/Command.java)10
-rw-r--r--src/esieequest/engine/commands/DoCommand.java (renamed from src/esieequest/controller/commands/DoCommand.java)10
-rw-r--r--src/esieequest/engine/commands/DropCommand.java (renamed from src/esieequest/controller/commands/DropCommand.java)10
-rw-r--r--src/esieequest/engine/commands/Executable.java (renamed from src/esieequest/controller/commands/Executable.java)6
-rw-r--r--src/esieequest/engine/commands/GoCommand.java (renamed from src/esieequest/controller/commands/GoCommand.java)12
-rw-r--r--src/esieequest/engine/commands/HelpCommand.java (renamed from src/esieequest/controller/commands/HelpCommand.java)8
-rw-r--r--src/esieequest/engine/commands/InventoryCommand.java (renamed from src/esieequest/controller/commands/InventoryCommand.java)8
-rw-r--r--src/esieequest/engine/commands/LoadCommand.java (renamed from src/esieequest/controller/commands/LoadCommand.java)8
-rw-r--r--src/esieequest/engine/commands/LookCommand.java (renamed from src/esieequest/controller/commands/LookCommand.java)8
-rw-r--r--src/esieequest/engine/commands/NewCommand.java (renamed from src/esieequest/controller/commands/NewCommand.java)12
-rw-r--r--src/esieequest/engine/commands/QuitCommand.java (renamed from src/esieequest/controller/commands/QuitCommand.java)8
-rw-r--r--src/esieequest/engine/commands/SaveCommand.java (renamed from src/esieequest/controller/commands/SaveCommand.java)8
-rw-r--r--src/esieequest/engine/commands/TakeCommand.java (renamed from src/esieequest/controller/commands/TakeCommand.java)16
-rw-r--r--src/esieequest/engine/commands/TalkCommand.java (renamed from src/esieequest/controller/commands/TalkCommand.java)10
-rw-r--r--src/esieequest/engine/commands/ToggleSoundCommand.java (renamed from src/esieequest/controller/commands/ToggleSoundCommand.java)8
-rw-r--r--src/esieequest/engine/commands/TurnCommand.java (renamed from src/esieequest/controller/commands/TurnCommand.java)12
-rw-r--r--src/esieequest/engine/commands/UseCommand.java (renamed from src/esieequest/controller/commands/UseCommand.java)10
-rw-r--r--src/esieequest/engine/commands/package-info.java (renamed from src/esieequest/controller/commands/package-info.java)2
-rw-r--r--src/esieequest/engine/package-info.java (renamed from src/esieequest/controller/package-info.java)2
-rw-r--r--src/esieequest/engine/utils/EnumUtils.java (renamed from src/esieequest/controller/utils/EnumUtils.java)2
-rw-r--r--src/esieequest/engine/utils/ListUtils.java (renamed from src/esieequest/controller/utils/ListUtils.java)4
-rw-r--r--src/esieequest/engine/utils/SerialisableList.java (renamed from src/esieequest/controller/utils/SerialisableList.java)2
-rw-r--r--src/esieequest/engine/utils/SerialisableObject.java (renamed from src/esieequest/controller/utils/SerialisableObject.java)2
-rw-r--r--src/esieequest/engine/utils/package-info.java (renamed from src/esieequest/controller/utils/package-info.java)2
-rw-r--r--src/esieequest/esieequest.gwt.xml12
-rw-r--r--src/esieequest/game/Game.java (renamed from src/esieequest/model/Game.java)24
-rw-r--r--src/esieequest/game/Player.java (renamed from src/esieequest/model/Player.java)16
-rw-r--r--src/esieequest/game/Text.java (renamed from src/esieequest/model/Text.java)2
-rw-r--r--src/esieequest/game/characters/Athanase.java (renamed from src/esieequest/model/characters/Athanase.java)12
-rw-r--r--src/esieequest/game/characters/Character.java (renamed from src/esieequest/model/characters/Character.java)14
-rw-r--r--src/esieequest/game/characters/FollowingCharacter.java (renamed from src/esieequest/model/characters/FollowingCharacter.java)8
-rw-r--r--src/esieequest/game/characters/MovingCharacter.java (renamed from src/esieequest/model/characters/MovingCharacter.java)8
-rw-r--r--src/esieequest/game/characters/SimpleCharacter.java (renamed from src/esieequest/model/characters/SimpleCharacter.java)8
-rw-r--r--src/esieequest/game/characters/Sumobot.java (renamed from src/esieequest/model/characters/Sumobot.java)14
-rw-r--r--src/esieequest/game/characters/WanderingCharacter.java (renamed from src/esieequest/model/characters/WanderingCharacter.java)8
-rw-r--r--src/esieequest/game/characters/package-info.java (renamed from src/esieequest/model/characters/package-info.java)2
-rw-r--r--src/esieequest/game/doors/Door.java (renamed from src/esieequest/model/doors/Door.java)8
-rw-r--r--src/esieequest/game/doors/HiddenDoor.java (renamed from src/esieequest/model/doors/HiddenDoor.java)4
-rw-r--r--src/esieequest/game/doors/LockedDoor.java (renamed from src/esieequest/model/doors/LockedDoor.java)14
-rw-r--r--src/esieequest/game/doors/TransporterDoor.java (renamed from src/esieequest/model/doors/TransporterDoor.java)4
-rw-r--r--src/esieequest/game/doors/TrapDoor.java (renamed from src/esieequest/model/doors/TrapDoor.java)8
-rw-r--r--src/esieequest/game/doors/package-info.java (renamed from src/esieequest/model/doors/package-info.java)2
-rw-r--r--src/esieequest/game/items/Banana.java (renamed from src/esieequest/model/items/Banana.java)6
-rw-r--r--src/esieequest/game/items/Beamer.java (renamed from src/esieequest/model/items/Beamer.java)10
-rw-r--r--src/esieequest/game/items/Disk.java (renamed from src/esieequest/model/items/Disk.java)16
-rw-r--r--src/esieequest/game/items/Inventory.java (renamed from src/esieequest/model/items/Inventory.java)10
-rw-r--r--src/esieequest/game/items/Item.java (renamed from src/esieequest/model/items/Item.java)12
-rw-r--r--src/esieequest/game/items/Note.java (renamed from src/esieequest/model/items/Note.java)8
-rw-r--r--src/esieequest/game/items/PortableConsole.java (renamed from src/esieequest/model/items/PortableConsole.java)10
-rw-r--r--src/esieequest/game/items/SimpleItem.java (renamed from src/esieequest/model/items/SimpleItem.java)10
-rw-r--r--src/esieequest/game/items/package-info.java (renamed from src/esieequest/model/items/package-info.java)2
-rw-r--r--src/esieequest/game/map/Direction.java (renamed from src/esieequest/model/map/Direction.java)2
-rw-r--r--src/esieequest/game/map/Orientation.java (renamed from src/esieequest/model/map/Orientation.java)2
-rw-r--r--src/esieequest/game/map/Room.java (renamed from src/esieequest/model/map/Room.java)18
-rw-r--r--src/esieequest/game/map/Side.java (renamed from src/esieequest/model/map/Side.java)12
-rw-r--r--src/esieequest/game/map/package-info.java (renamed from src/esieequest/model/map/package-info.java)2
-rw-r--r--src/esieequest/game/package-info.java (renamed from src/esieequest/model/package-info.java)2
-rw-r--r--src/esieequest/game/states/Quest.java (renamed from src/esieequest/model/events/Quest.java)2
-rw-r--r--src/esieequest/game/states/Scene.java (renamed from src/esieequest/model/events/Scene.java)4
-rw-r--r--src/esieequest/game/states/package-info.java (renamed from src/esieequest/model/events/package-info.java)2
-rw-r--r--src/esieequest/ui/Viewable.java (renamed from src/esieequest/view/Viewable.java)18
-rw-r--r--src/esieequest/ui/package-info.java (renamed from src/esieequest/view/package-info.java)2
-rw-r--r--src/esieequest/ui/rich/Applet.java (renamed from src/esieequest/view/app/Applet.java)2
-rw-r--r--src/esieequest/ui/rich/UserInterface.java (renamed from src/esieequest/view/app/UserInterface.java)32
-rw-r--r--src/esieequest/ui/rich/Window.java (renamed from src/esieequest/view/app/Window.java)2
-rw-r--r--src/esieequest/ui/rich/package-info.java (renamed from src/esieequest/view/app/package-info.java)2
-rw-r--r--src/esieequest/ui/text/Console.java (renamed from src/esieequest/view/text/Console.java)2
-rw-r--r--src/esieequest/ui/text/FileReader.java (renamed from src/esieequest/view/text/FileReader.java)2
-rw-r--r--src/esieequest/ui/text/TextInterface.java (renamed from src/esieequest/view/text/TextInterface.java)22
-rw-r--r--src/esieequest/ui/text/package-info.java (renamed from src/esieequest/view/text/package-info.java)2
-rw-r--r--src/esieequest/ui/web/Main.java (renamed from src/esieequest/view/web/Main.java)4
-rw-r--r--src/esieequest/ui/web/WebInterface.java (renamed from src/esieequest/view/web/WebInterface.java)30
-rw-r--r--src/esieequest/ui/web/WebInterface.ui.xml (renamed from src/esieequest/view/web/WebInterface.ui.xml)0
-rw-r--r--src/esieequest/ui/web/package-info.java (renamed from src/esieequest/view/web/package-info.java)2
80 files changed, 330 insertions, 330 deletions
diff --git a/src/esieequest/Main.java b/src/esieequest/Main.java
index f8b013f..c755741 100755
--- a/src/esieequest/Main.java
+++ b/src/esieequest/Main.java
@@ -5,12 +5,12 @@ import java.util.List;
5 5
6import javax.swing.JApplet; 6import javax.swing.JApplet;
7 7
8import esieequest.controller.GameEngine; 8import esieequest.engine.GameEngine;
9import esieequest.view.Viewable; 9import esieequest.ui.Viewable;
10import esieequest.view.app.Applet; 10import esieequest.ui.rich.Applet;
11import esieequest.view.app.Window; 11import esieequest.ui.rich.Window;
12import esieequest.view.text.Console; 12import esieequest.ui.text.Console;
13import esieequest.view.text.FileReader; 13import esieequest.ui.text.FileReader;
14 14
15/** 15/**
16 * The main class of the program. 16 * The main class of the program.
diff --git a/src/esieequest/controller/Callback.java b/src/esieequest/engine/Callback.java
index ef03b72..91d8451 100644
--- a/src/esieequest/controller/Callback.java
+++ b/src/esieequest/engine/Callback.java
@@ -1,4 +1,4 @@
1package esieequest.controller; 1package esieequest.engine;
2 2
3/** 3/**
4 * The Callback interface. 4 * The Callback interface.
diff --git a/src/esieequest/controller/GameEngine.java b/src/esieequest/engine/GameEngine.java
index ae76059..8c1ac95 100644
--- a/src/esieequest/controller/GameEngine.java
+++ b/src/esieequest/engine/GameEngine.java
@@ -1,14 +1,14 @@
1package esieequest.controller; 1package esieequest.engine;
2 2
3import esieequest.controller.commands.Command; 3import esieequest.engine.commands.Command;
4import esieequest.model.Game; 4import esieequest.game.Game;
5import esieequest.model.Text; 5import esieequest.game.Text;
6import esieequest.model.characters.MovingCharacter; 6import esieequest.game.characters.MovingCharacter;
7import esieequest.model.events.Scene; 7import esieequest.game.items.Beamer;
8import esieequest.model.items.Beamer; 8import esieequest.game.items.Item;
9import esieequest.model.items.Item; 9import esieequest.game.map.Room;
10import esieequest.model.map.Room; 10import esieequest.game.states.Scene;
11import esieequest.view.Viewable; 11import esieequest.ui.Viewable;
12 12
13/** 13/**
14 * The game main controller class. 14 * The game main controller class.
diff --git a/src/esieequest/controller/Input.java b/src/esieequest/engine/Input.java
index 784985e..f1aef10 100644
--- a/src/esieequest/controller/Input.java
+++ b/src/esieequest/engine/Input.java
@@ -1,7 +1,7 @@
1package esieequest.controller; 1package esieequest.engine;
2 2
3import lombok.Getter; 3import lombok.Getter;
4import esieequest.controller.commands.Command; 4import esieequest.engine.commands.Command;
5 5
6/** 6/**
7 * An user textual input. 7 * An user textual input.
diff --git a/src/esieequest/controller/commands/AleaCommand.java b/src/esieequest/engine/commands/AleaCommand.java
index 093f088..1e9fce7 100644
--- a/src/esieequest/controller/commands/AleaCommand.java
+++ b/src/esieequest/engine/commands/AleaCommand.java