FindingMaya::Entity
Inherits Reference < Object
Constructors
new(name : String, description : String, x : Int32, y : Int32, texture : Raylib::Texture2D, collision : Bool = true)
SourceInstance methods
collision?
Sourcedescription
Sourcedraw
Sourceinteract
This method is called when the player interacts with the entity. It should be overridden by subclasses.
name
Sourceupdate(x : Int32, y : Int32)
Sourcex=(x : Int32)
Sourcey=(y : Int32)
Source