diff options
author | hanemile <hanemile@protonmail.com> | 2019-01-23 19:10:54 +0100 |
---|---|---|
committer | hanemile <hanemile@protonmail.com> | 2019-01-23 19:10:54 +0100 |
commit | d5deb0177a92ec8dc83695858abe86b361f0e83c (patch) | |
tree | 1706ed785cc496b0a830f61c5350e4a84c465771 | |
parent | b15789b178c339c04208c7234a78e7ee1d3bd501 (diff) |
added the stargalacy type combining a star and the galaxy it is currently in
-rw-r--r-- | stargalaxy.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stargalaxy.go b/stargalaxy.go new file mode 100644 index 0000000..c48f79f --- /dev/null +++ b/stargalaxy.go @@ -0,0 +1,7 @@ +package structs + +// struct bundling the star and the galaxy index it comes from +type stargalaxy struct { + star Star2D + index int64 +} |