Class: Skip
Overview
Ein Aussetzzug. Ist nur erlaubt, sollten keine anderen Züge möglich sei
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize ⇒ Skip
constructor
A new instance of Skip.
- #perform!(_gamestate) ⇒ Object
- #type ⇒ Object
Methods inherited from Action
Constructor Details
#initialize ⇒ Skip
Returns a new instance of Skip.
128 129 |
# File 'lib/software_challenge_client/action.rb', line 128 def initialize() end |
Instance Method Details
#==(other) ⇒ Object
135 136 137 |
# File 'lib/software_challenge_client/action.rb', line 135 def ==(other) other.type == type end |
#perform!(_gamestate) ⇒ Object
139 140 141 |
# File 'lib/software_challenge_client/action.rb', line 139 def perform!(_gamestate) # does nothing end |
#type ⇒ Object
131 132 133 |
# File 'lib/software_challenge_client/action.rb', line 131 def type :skip end |