Class: NullStone
Instance Attribute Summary
Attributes inherited from Stone
Instance Method Summary collapse
-
#initialize(*args) ⇒ NullStone
constructor
A new instance of NullStone.
- #remove_from_board(board) ⇒ Object
- #to_sfg ⇒ Object
Methods inherited from Stone
#==, #empty?, #group, #liberties, #place_on_board, #to_coord, #to_s, #to_sgf, #to_str
Constructor Details
#initialize(*args) ⇒ NullStone
Returns a new instance of NullStone.
91 92 93 |
# File 'lib/stone.rb', line 91 def initialize(*args) @x, @y = nil, nil end |
Instance Method Details
#remove_from_board(board) ⇒ Object
95 96 |
# File 'lib/stone.rb', line 95 def remove_from_board(board) end |
#to_sfg ⇒ Object
98 99 100 |
# File 'lib/stone.rb', line 98 def to_sfg "" end |