class FindingMaya::Table

Defined in:

entity/table.cr

Instance Method Summary

Instance methods inherited from class FindingMaya::Entity

collision? : Bool collision?, description : String description, draw draw, interact interact, name : String name, rectangle : Raylib::Rectangle rectangle, update(x : Int32, y : Int32) update, x : Int32 x, x=(x : Int32) x=, y : Int32 y, y=(y : Int32) y=

Constructor methods inherited from class FindingMaya::Entity

new(name : String, description : String, x : Int32, y : Int32, texture : Raylib::Texture2D, collision : Bool = true) new

Instance Method Detail

def interact #
Description copied from class FindingMaya::Entity

This method is called when the player interacts with the entity. It should be overridden by subclasses.


[View source]