class FindingMaya::Player

Defined in:

player.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String) #

[View source]

Instance Method Detail

def agility : Int32 #

stats


[View source]
def agility=(agility : Int32) #

stats


[View source]
def cash : Int32 #

cash


[View source]
def cash=(cash : Int32) #

cash


[View source]
def charisma : Int32 #

[View source]
def charisma=(charisma : Int32) #

[View source]
def collision? : Bool #

[View source]
def draw #

[View source]
def intelligence : Int32 #

[View source]
def intelligence=(intelligence : Int32) #

[View source]
def inventory : Inventory #

inventory


[View source]
def last_direction : String #

[View source]
def last_direction=(last_direction : String) #

[View source]
def move_by(x : Int32 = 0, y : Int32 = 0) #

[View source]
def move_to(x : Int32 = 0, y : Int32 = 0) #

[View source]
def name : String #

main information


[View source]
def rectangle : Raylib::Rectangle #

rectangle


[View source]
def send(stat : String) : Int32 #

[View source]
def strength : Int32 #

[View source]
def strength=(strength : Int32) #

[View source]
def x : Int32 #

position


[View source]
def x=(x : Int32) #

position


[View source]
def y : Int32 #

[View source]
def y=(y : Int32) #

[View source]