Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
escapist
master
Escapist
BaseBlock
Block
Box
CenteredMessage
Cursor
DoorConfig
Floor
FloorData
FloorSwitch
Font
Game
HUD
Joysticks
Keys
LaserBlock
LaserInfo
LaserSwitch
LastCursor
Message
MiniMap
Mouse
MovableBlock
Player
Room
TileGrid
TileRow
RoomData
RoomDoors
DoorKey
RoomEditor
ScaleHelpers
Scene
Editor
Main
NewItem
Start
Screen
Stage
Switch
TileObj
Timer
View
Generated using Crystal 1.14.0
2024-11-26 09:00:29 UTC
class
Escapist::
RoomData
Escapist::RoomData
Reference
Object
Included Modules
JSON::Serializable
Defined in:
escapist/room_data.cr
Constant Summary
FilePath
=
"./assets/room_data.dat"
Constructors
.new
(pull : JSON::PullParser)
.new
Class Method Summary
.load
Instance Method Summary
#remove_room
(id)
#rooms
: Hash(String, Room)
#save
#update_room
(room)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
def self.
new
#
[
View source
]
Class Method Detail
def self.
load
#
[
View source
]
Instance Method Detail
def
remove_room
(id)
#
[
View source
]
def
rooms
: Hash(String,
Room
)
#
[
View source
]
def
save
#
[
View source
]
def
update_room
(room)
#
[
View source
]