refactor: group launched/in_space state
This commit is contained in:
@@ -99,6 +99,8 @@ var (
|
||||
|
||||
BadEntityName = "Bad(entitty)Name"
|
||||
UnknownRace = "UnknownRace"
|
||||
|
||||
InSpace = game.InSpace{Origin: 2, X: floatRef(1.23), Y: floatRef(1.23)}
|
||||
)
|
||||
|
||||
// [ ] Delete this fake test
|
||||
@@ -153,3 +155,8 @@ func newCache() (*controller.Cache, *controller.Controller) {
|
||||
|
||||
return c, ctl
|
||||
}
|
||||
|
||||
func floatRef(v float64) *game.Float {
|
||||
f := game.Float(v)
|
||||
return &f
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user