class

Raycast::Map

Inherits Reference < Object

Constructors

new(name : String, size_x : Int32, size_y : Int32, floors : Array(MapFloors), ceilings : Array(MapFloors), walls : Array(MapWalls), things : Array(MapThings))
Source

Class methods

floor_textures
Source
frame_to_indices(map_name : String, frame_enum, frame : JSON::Any, frame_pixels : Pointer(Raylib::Color), palette : Pointer(Raylib::Color))
Source
load(name : String) : self | Nil
Source
wall_textures
Source

Instance methods

ceilings
Source
deinit
Source
floors
Source
loaded_floor_images
Source
loaded_sprite_textures
Source
loaded_wall_textures
Source
name
Source
size_x
Source
size_y
Source
things
Source
walls
Source

Nested types