Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
snake-crystal
main
Interaction
Snake
Apple
Coordinate
Game
Player
Directions
Tail
World
Built with Crystal 1.9.2
2023-10-07 18:43:00 UTC
module
Interaction
Defined in:
interaction.cr
Class Method Summary
.draw
(window, world : Snake::World)
.draw_game_over
(window, count)
.get_char
.start
.stop
.window
(world)
Class Method Detail
def self.
draw
(window, world :
Snake::World
)
#
[
View source
]
def self.
draw_game_over
(window, count)
#
[
View source
]
def self.
get_char
#
[
View source
]
def self.
start
#
[
View source
]
def self.
stop
#
[
View source
]
def self.
window
(world)
#
[
View source
]