class Rosegold::Interactions

Defined in:

rosegold/control/interactions.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : Rosegold::Client) #

[View source]

Instance Method Detail

def cancel_digging #

TODO decide finish/cancel based on block dig time


[View source]
def client : Client #

[View source]
def digging=(digging : Bool) #

[View source]
def digging? : Bool #

[View source]
def finish_digging #

[View source]
def reach_block : ReachedBlock | Nil #

[View source]
def start_digging #

Activates the "attack" button.


[View source]
def start_using_hand(hand : Hand = :main_hand) #

Activates the "use" button.


[View source]
def stop_digging #

Deactivates the "attack" button.


[View source]
def stop_using_hand #

Deactivates the "use" button.


[View source]