Add win condition

This commit is contained in:
2019-10-06 13:58:36 +03:00
parent d200d59fff
commit e0b586ea6e
2 changed files with 8 additions and 1 deletions

View File

@ -32,4 +32,8 @@ class Game::World
end
@ts = ts
end
def win?
@resources[ResourceType::Terraformation] >= 100
end
end