Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
Game Engine Example
main
Game
Acceleration
Level
AquaticRuin
AquaticRuinBg
BackdropBuilder
Builder
ChemicalPlantBg
PlayfieldBuilder
Test
TestBg
Tile
Backdrop
Map
Namespace
Animator
Playfield
Rasterizer
Distortion
Built with Crystal 1.9.2
2023-10-07 19:14:15 UTC
class
Tile::Backdrop
Tile::Backdrop
Tile
Reference
Object
Defined in:
tile.cr
Constructors
.new
(tile_size, width, map, texture_path, viewport)
Instance methods inherited from class
Tile
assign_tile_at(pos, index)
assign_tile_at
,
draw(target, states)
draw
,
map : Map
map
,
move_by(x, y)
move_by
,
move_to(x, y)
move_to
,
namespace : Namespace
namespace
,
next_tile_at(pos)
next_tile_at
,
position
position
,
prev_tile_at(pos)
prev_tile_at
,
rasterizer : Rasterizer
rasterizer
,
tile_at(pos)
tile_at
,
values : Tile::Values
values
Constructor methods inherited from class
Tile
new(tile_size, width, map, texture_path, viewport, &)
new
Constructor Detail
def self.
new
(tile_size, width, map, texture_path, viewport)
#
[
View source
]