From d5deb0177a92ec8dc83695858abe86b361f0e83c Mon Sep 17 00:00:00 2001 From: hanemile Date: Wed, 23 Jan 2019 19:10:54 +0100 Subject: added the stargalacy type combining a star and the galaxy it is currently in --- stargalaxy.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 stargalaxy.go 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 +} -- cgit 1.4.1