Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
game_sf
v0.37.0
GSF
Animation
Animations
AnimationData
AxisState
BottomCenteredMessage
Box
Bump
ButtonState
Circle
Dialog
Data
EllipseShape
Font
Game
Joysticks
Axis
Button
JoystickState
Keys
Key
KeyState
MathHelpers
MenuItem
MenuItems
KeyValue
Message
ChoiceData
Mouse
Button
Movable
Path
Cell
Cells
Tile
Tiles
PlayerController
Key
Scene
SceneEmpty
Screen
Stage
StageEmpty
StyledText
StyledTextSection
TileMap
TileMapLevel
Timer
Generated using Crystal 1.11.2
2024-10-14 02:23:38 UTC
class
GSF::
KeyState
GSF::KeyState
Reference
Object
Defined in:
gsf/keys.cr
Constructors
.new
(pressed : Bool)
Instance Method Summary
#just_pressed?
#pressed
#pressed?
: Bool
#released
#seen
#seen?
: Bool
Constructor Detail
def self.
new
(pressed : Bool)
#
[
View source
]
Instance Method Detail
def
just_pressed?
#
[
View source
]
def
pressed
#
[
View source
]
def
pressed?
: Bool
#
[
View source
]
def
released
#
[
View source
]
def
seen
#
[
View source
]
def
seen?
: Bool
#
[
View source
]