Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
game-of-life
main
Espresso
Mouse
MouseButtonEvent
GameOfLife
CellPlane
Cell
Pos
Client
Log
Matrix
OpenGL
Timer
Generated using Crystal 1.14.0
2024-11-26 07:13:58 UTC
struct
GameOfLife::
CellPlane::
Pos
GameOfLife::CellPlane::Pos
Struct
Value
Object
Defined in:
game_of_life/cell_plane.cr
Constructors
.new
(x : Int32, y : Int32)
Instance Method Summary
#clone
#copy_with
(x _x = @x, y _y = @y)
#x
: Int32
#y
: Int32
Constructor Detail
def self.
new
(x : Int32, y : Int32)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(x _x = @x, y _y = @y)
#
[
View source
]
def
x
: Int32
#
def
y
: Int32
#