File tree Expand file tree Collapse file tree 7 files changed +19
-12
lines changed Expand file tree Collapse file tree 7 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,16 @@ package main
22
33import (
44 "fmt"
5- "hlt"
6- "hlt/gameconfig"
7- "hlt/log"
85 "math/rand"
96 "os"
107 "os/signal"
118 "strconv"
129 "syscall"
1310 "time"
11+
12+ "./hlt"
13+ "./hlt/gameconfig"
14+ "./hlt/log"
1415)
1516
1617func gracefulExit (logger * log.FileLogger ) {
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ package hlt
22
33import (
44 "fmt"
5- "hlt/gameconfig"
6- "hlt/input"
5+
6+ "./gameconfig"
7+ "./input"
78)
89
910// Entity - Base entity structure
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ package hlt
22
33import (
44 "fmt"
5- "hlt/gameconfig"
6- "hlt/input"
7- "hlt/log"
5+
6+ "./gameconfig"
7+ "./input"
8+ "./log"
89)
910
1011// Game - Structure holding all metadata for the game
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ package hlt
22
33import (
44 "fmt"
5- "hlt/input"
5+
6+ "./input"
67)
78
89// GameMap - Top level structure for the game map
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ package hlt
33import (
44 "errors"
55 "fmt"
6- "hlt/input"
6+
7+ "./input"
78)
89
910// Player - Structure to hold all information about a player
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ package gameconfig
33import (
44 "bytes"
55 "fmt"
6- "hlt/log"
76 "regexp"
87 "strconv"
98 "sync"
9+
10+ "../log"
1011)
1112
1213// Game setting keys
Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ package input
22
33import (
44 "bufio"
5- "hlt/log"
65 "io"
76 "os"
87 "regexp"
98 "strconv"
109 "sync"
10+
11+ "../log"
1112)
1213
1314// Input - Reads from the game runner, helps with parsing
You can’t perform that action at this time.
0 commit comments