class

RPG::Collidable

Inherits Reference < Object

Constants

Size = 64

Constructors

new(x : Float32 | Int32 = 0, y : Float32 | Int32 = 0, dialog_key : String = "")
Source

Instance methods

action
Source
area_radius
Source
area_triggered?
Source
check_area_triggered?(player : Player)
Source
collision_height
Source
collision_width
Source
dialog_key
Source
draw(window : SF::RenderWindow)
Source
jump(x : Float32 | Int32, y : Float32 | Int32)
Source
jump_to_tile(col, row, tile_size)
Source
reset_area_triggered
Source
size
Source
update(frame_time)
Source