struct Game::Point

Defined in:

game/point.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32, y : Int32) #

[View source]

Instance Method Detail

def distance(other) : Int32 #

[View source]
def x : Int32 #

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

[View source]
def y : Int32 #

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

[View source]