class Interview::Robot

Defined in:

interview/robot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def collision_with(x : Int32, y : Int32) #

[View source]
def direction : String #

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

[View source]
def execute(command : String) #

[View source]
def help #

[View source]
def move #

[View source]
def obstacles : Hash(Array(Int32), Bool) #

[View source]
def obstacles=(obstacles : Hash(Array(Int32), Bool)) #

[View source]
def position : Array(Int32) #

[View source]
def position=(position : Array(Int32)) #

[View source]
def turn_left #

[View source]
def turn_right #

[View source]