Class: Sashite::PAN::Action
- Inherits:
-
Object
- Object
- Sashite::PAN::Action
- Defined in:
- lib/sashite/pan/action.rb
Overview
Action class
Instance Attribute Summary collapse
-
#dst_square ⇒ Object
readonly
Returns the value of attribute dst_square.
-
#piece_hand ⇒ Object
readonly
Returns the value of attribute piece_hand.
-
#piece_name ⇒ Object
readonly
Returns the value of attribute piece_name.
-
#src_square ⇒ Object
readonly
Returns the value of attribute src_square.
Instance Attribute Details
#dst_square ⇒ Object (readonly)
Returns the value of attribute dst_square.
7 8 9 |
# File 'lib/sashite/pan/action.rb', line 7 def dst_square @dst_square end |
#piece_hand ⇒ Object (readonly)
Returns the value of attribute piece_hand.
7 8 9 |
# File 'lib/sashite/pan/action.rb', line 7 def piece_hand @piece_hand end |
#piece_name ⇒ Object (readonly)
Returns the value of attribute piece_name.
7 8 9 |
# File 'lib/sashite/pan/action.rb', line 7 def piece_name @piece_name end |
#src_square ⇒ Object (readonly)
Returns the value of attribute src_square.
7 8 9 |
# File 'lib/sashite/pan/action.rb', line 7 def src_square @src_square end |