class FindingMaya::Level
- FindingMaya::Level
- Reference
- Object
Defined in:
level.crConstant Summary
-
INTERACTION_DISTANCE =
10
-
PLAYER_WALK_SPEED =
5
Constructors
Instance Method Summary
- #all_objects : Array(Element)
- #colliding?(x : Int32 = 0, y : Int32 = 0) : Bool
- #colliding_with : Element | Nil
- #draw
- #interact
- #move_player(&)
- #play
- #player : Player
Constructor Detail
def self.new(background : Raylib::Texture2D, player : Player, items : Array(Item) = Array(Item).new, entities : Array(Entity) = Array(Entity).new)
#