Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
rover
master
Rover
Font
Game
Ground
HUD
Joysticks
Keys
Mouse
Movable
Ore
Player
Rover
Scene
Main
Start
Screen
Stage
TileMap
Timer
Generated using Crystal 1.14.0
2024-11-26 09:01:18 UTC
class
Rover::
Ground
Rover::Ground
Reference
Object
Defined in:
rover/ground.cr
Constant Summary
SpriteSize
=
256
TextureFile
=
"./assets/ground.png"
Constructors
.new
(cols =
10
, rows =
10
)
Instance Method Summary
#draw
(window : SF::RenderWindow)
#tile_map
: TileMap
#update
(frame_time, keys : Keys)
Constructor Detail
def self.
new
(cols =
10
, rows =
10
)
#
[
View source
]
Instance Method Detail
def
draw
(window : SF::RenderWindow)
#
[
View source
]
def
tile_map
:
TileMap
#
[
View source
]
def
update
(frame_time, keys :
Keys
)
#
[
View source
]