-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added systems and initial jumps/distance code.
Added a separate notion of systems in preparation for supporting multiple stations per system. Partial. Added preliminary 'getDestinations' code to Station which tells you how many stations it can reach and how many light years it takes to get there and how many jumps. This can then be used for best trade calculations at run time rather than limiting the data we load based on direct links. Thus you'll be able to find trades that require more than one jump.
- Loading branch information
Showing
2 changed files
with
71 additions
and
19 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