class Node

Defined in:

objects/node.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(position_x : Int32, position_y : Int32) #

[View source]

Instance Method Detail

def change_state(value : Int32) #

[View source]
def change_state #

[View source]
def color : LibRay::Color #

[View source]
def color=(color : LibRay::Color) #

[View source]
def draw #

[View source]
def grey? #

[View source]
def position_x : Int32 #

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

[View source]
def position_y : Int32 #

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

[View source]
def set_color(state) #

[View source]
def state : Int32 #

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

[View source]