class RPG::Sign

Defined in:

rpg/sign.cr

Constant Summary

ShadowSprite = "./assets/sprites/shadow.png"

Constructors

Instance Method Summary

Instance methods inherited from class RPG::Collidable

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

Constructor methods inherited from class RPG::Collidable

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

Constructor Detail

def self.new(x = 0, y = 0, dialog_key = "") #

[View source]

Instance Method Detail

def action #

[View source]
def draw(window : SF::RenderWindow) #

[View source]
def draw_shadow(window) #

[View source]
def draw_sign(window) #

[View source]
def shadow_sprite : SF::Sprite #

[View source]