class

FindingMaya::Entity

Inherits Reference < Object

Constructors

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

Instance methods

collision?
Source
description
Source
draw
Source
interact

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

Source
name
Source
rectangle

rectangle

Source
update(x : Int32, y : Int32)
Source
x=(x : Int32)
Source
y=(y : Int32)
Source