Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
snake-crystal
main
Interaction
Snake
Apple
Coordinate
Game
Player
Directions
Tail
World
Generated using Crystal 1.14.0
2025-03-14 14:34:38 UTC
class
Snake::
Apple
Snake::Apple
Reference
Object
Defined in:
snake/apple.cr
Constructors
.new
(coord : Coordinate)
Instance Method Summary
#coord
: Coordinate
Constructor Detail
def self.
new
(coord :
Coordinate
)
#
[
View source
]
Instance Method Detail
def
coord
:
Coordinate
#
[
View source
]