summaryrefslogtreecommitdiffstats
path: root/spec/mock_board.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-11-08 15:20:24 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2023-11-08 15:20:24 +0100
commit0c8b3c3000b565af71961dbf5cbb058ccfe9fd04 (patch)
treee11790d18fd2d89704104766ef777e09ee02962d /spec/mock_board.rb
parent45df0be14323eaaa140f56b930f3d56d8239a902 (diff)
downloadcolonial-twilight-0c8b3c3000b565af71961dbf5cbb058ccfe9fd04.zip
colonial-twilight-0c8b3c3000b565af71961dbf5cbb058ccfe9fd04.tar.gz
FLNBotRules : support rally 9 and specs
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