class MonsterMaze::Levels::Maze2
Defined in:
monster_maze/levels/maze_2.cr
Constant Summary
-
TileMapFile =
"./assets/levels/maze_2.json"
Instance Method Summary
Instance methods inherited from class MonsterMaze::Level
close_collidable_movables(movable : Movable)
close_collidable_movables,
close_collidable_tiles(movable : Movable)
close_collidable_tiles,
close_oil_pools(movable : Movable)
close_oil_pools,
collision_with_circle?(x, y, size)
collision_with_circle?,
cols : Int32
cols,
draw(window : SF::RenderWindow)
draw,
draw_collision_tiles(window)
draw_collision_tiles,
draw_game_over_menu(window)
draw_game_over_menu,
draw_visibility(window)
draw_visibility,
exit? : Bool
exit?,
game_over?
game_over?,
game_win?
game_win?,
height
height,
init
init,
init_finish_area(finish_tile)
init_finish_area,
init_monsters
init_monsters,
init_oil_pools(oil_pool_tile)
init_oil_pools,
init_sounds
init_sounds,
init_spawns(spawn_tile)
init_spawns,
init_sprites
init_sprites,
init_tiles
init_tiles,
init_visibilities
init_visibilities,
monsters : Array(Monster)
monsters,
oil_pools : Array(OilPool)
oil_pools,
play_sound(sound : SF::Sound)
play_sound,
player : Player
player,
reset
reset,
reset_visibility(tile_row, tile_col)
reset_visibility,
rows : Int32
rows,
spawn_monster(row, col)
spawn_monster,
tile_map_file
tile_map_file,
tile_sheet_data_file
tile_sheet_data_file,
tile_sheet_file
tile_sheet_file,
tile_size
tile_size,
tiles : Array(Array(Int32))
tiles,
update(frame_time, keys : Keys, joysticks : Joysticks)
update,
update_game_over(frame_time, keys, joysticks)
update_game_over,
update_tile_visibility(tile_row, tile_col)
update_tile_visibility,
update_visibility
update_visibility,
v_cols
v_cols,
v_rows
v_rows,
visibilities_from_tile(tile_row, tile_col) : Array(VisibilityData)
visibilities_from_tile,
width
width
Constructor methods inherited from class MonsterMaze::Level
new(player : Player, rows : Int32 = 1, cols : Int32 = 1)
new
Instance Method Detail