Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aethyr
creeper
Commits
81081eef
Commit
81081eef
authored
Aug 23, 2014
by
d0tslash
Browse files
added toilet room
parent
113b757d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/comandante/creeper/Main.java
View file @
81081eef
...
...
@@ -28,14 +28,17 @@ public class Main {
"This is the hallway. It's long and hallway-ish with exposed wires and floorboards showing."
);
Room
intake
=
new
Room
(
3
,
Optional
.<
Integer
>
absent
(),
Optional
.
of
(
6
),
Optional
.<
Integer
>
absent
(),
Optional
.
of
(
2
),
"This is the intake area. People are lined up like cattle waiting to be prodded."
);
Room
janitorialCloset
=
new
Room
(
6
,
Optional
.<
Integer
>
absent
(),
Optional
.<
Integer
>
absent
(),
Optional
.
of
(
3
),
Optional
.
<
Integer
>
absent
(
),
Room
janitorialCloset
=
new
Room
(
6
,
Optional
.<
Integer
>
absent
(),
Optional
.<
Integer
>
absent
(),
Optional
.
of
(
3
),
Optional
.
of
(
7
),
"You find yourself in the janitorial closet. It smells like bleach."
);
Room
toilet
=
new
Room
(
7
,
Optional
.
of
(
6
),
Optional
.<
Integer
>
absent
(),
Optional
.<
Integer
>
absent
(),
Optional
.<
Integer
>
absent
(),
"You find yourself in the toilet. The smell is horrible."
);
RoomManager
roomManager
=
new
RoomManager
();
roomManager
.
addRoom
(
lobby
);
roomManager
.
addRoom
(
hallway
);
roomManager
.
addRoom
(
intake
);
roomManager
.
addRoom
(
janitorialCloset
);
roomManager
.
addRoom
(
toilet
);
DB
db
=
DBMaker
.
newFileDB
(
new
File
(
"creeperDb"
))
.
closeOnJvmShutdown
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment