class FogOfWar::Level
 
  - FogOfWar::Level
 - Reference
 - Object
 
Included Modules
- JSON::Serializable
 
Defined in:
fog_of_war/level.crConstructors
- .new(pull : JSON::PullParser)
 - .new(border : FogOfWar::Line = Line.new, key : String = UUID.random.to_s)
 
Instance Method Summary
- #border : Line
 - #border_max_x_y
 - #border_min_x_y
 - #display_name
 - #draw(window : SF::RenderWindow, player)
 - #draw_floor_tiles(window)
 - #draw_visibility(window)
 - #explore_tile_check(tile, col, row, player)
 - #floor_tiles : FloorTiles
 - #init
 - #init_floor_tiles
 - #key : String
 - #min_x : Int32
 - #min_y : Int32
 - #player_spawn : Point
 - #player_spawn=(player_spawn : Point)
 - #reset_visibility
 - #tile_at(x, y)
 - #update(frame_time, keys : Keys, player : Player)
 - #update_visibility(player : Player)