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::
Scene::
NewItem
Escapist::Scene::NewItem
Reference
Object
Defined in:
escapist/scene/editor.cr
Constant Summary
RoomDimensionMax
=
5
RoomDimensionMin
=
1
Constructors
.new
(label : String, data : Int32 =
0
)
Instance Method Summary
#data
: Int32
#decrease
#increase
#key
: String
#label
#value?
Constructor Detail
def self.
new
(label : String, data : Int32 =
0
)
#
[
View source
]
Instance Method Detail
def
data
: Int32
#
[
View source
]
def
decrease
#
[
View source
]
def
increase
#
[
View source
]
def
key
: String
#
[
View source
]
def
label
#
[
View source
]
def
value?
#
[
View source
]