summaryrefslogtreecommitdiffstats
path: root/spec/mock_board.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/mock_board.rb')
-rw-r--r--spec/mock_board.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/mock_board.rb b/spec/mock_board.rb
index e1db1b3..2ea3899 100644
--- a/spec/mock_board.rb
+++ b/spec/mock_board.rb
@@ -37,6 +37,10 @@ class Sector
@data[:oppose] || false
end
+ def neutral?
+ @data[:neutral] || false
+ end
+
def terror
@data[:terror] || 0
end