class

Escapist::MiniMap

Inherits Reference < Object

Constants

BorderOutlineColor = SF::Color.new(153, 153, 153)
BorderOutlineThickness = 2
CellColor = SF::Color.new(51, 51, 51, 51)
CellInColor = SF::Color.new(51, 51, 51, 153)
CellOutlineColor = SF::Color.new(153, 153, 153, 51)
CellOutlineThickness = 2
CellSize = 48
Margin = 32

Constructors

new(tr_x : Int32, tr_y : Int32, floor_data : Escapist::FloorData, floor : Escapist::Floor)
Source

Instance methods

draw(window : SF::RenderWindow)
Source
draw_border(window)
Source
draw_grid(window)
Source
draw_room(window, row_index, col_index, room, is_player_in = false)
Source
grid(*args, **options)
Source
grid(*args, **options, &)
Source
height
Source
rooms(*args, **options)
Source
rooms(*args, **options, &)
Source
width
Source