class

FindingMaya::Level

Inherits Reference < Object

Constants

INTERACTION_DISTANCE = 10
PLAYER_WALK_SPEED = 5

Constructors

new(background : Raylib::Texture2D, player : Player, items : Array(Item) = Array(Item).new, entities : Array(Entity) = Array(Entity).new)
Source

Instance methods

all_objects
Source
colliding?(x : Int32 = 0, y : Int32 = 0) : Bool
Source
colliding_with
Source
draw
Source
interact
Source
move_player
Source
play
Source
player
Source

Nested types