Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Facility have an arbitrary connection distance
- Loading branch information
1 parent
c6b154e
commit a9b446c
Showing
5 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
module GeekGame | ||
class EngineerFactory < Factory | ||
facility_properties connection_distance: 20 | ||
factory_properties production_time: 5.0, bot_class: Engineer, production_cost: 5 | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
module GeekGame | ||
class PewPewFactory < Factory | ||
facility_properties connection_distance: 30 | ||
factory_properties production_time: 5.0, bot_class: PewPew, production_cost: 15 | ||
end | ||
end |