class Mazebot::Node

Defined in:

mazebot/node.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Mazebot::NodeData = nil) #

[View source]

Instance Method Detail

def connect_to(node : self, distance : Number::Primitive) #

[View source]
def data : Mazebot::NodeData #

[View source]
def direction_to(other : Node) : String | Nil #

[View source]
def f : Number::Primitive #

[View source]
def f=(f : Number::Primitive) #

[View source]
def g : Number::Primitive #

[View source]
def g=(g : Number::Primitive) #

[View source]
def neighbors : Hash(Mazebot::Node, Float32 | Float64 | Int128 | Int16 | Int32 | Int64 | Int8 | UInt128 | UInt16 | UInt32 | UInt64 | UInt8) #

[View source]
def parent : self | Nil #

[View source]
def parent=(parent : self | Nil) #

[View source]
def reset #

[View source]
def to_s(io) #

[View source]