Move object into atlas
This commit is contained in:
parent
f40f7123d4
commit
f0ab2abf6e
8 changed files with 66 additions and 72 deletions
|
@ -12,7 +12,6 @@ import (
|
|||
|
||||
"github.com/mdiluz/rove/pkg/atlas"
|
||||
"github.com/mdiluz/rove/pkg/maths"
|
||||
"github.com/mdiluz/rove/pkg/objects"
|
||||
"github.com/mdiluz/rove/pkg/roveapi"
|
||||
"github.com/mdiluz/rove/pkg/version"
|
||||
"golang.org/x/net/context"
|
||||
|
@ -288,7 +287,7 @@ func InnerMain(command string, args ...string) error {
|
|||
for i := 0; i < num; i++ {
|
||||
t := response.Tiles[i+num*j]
|
||||
o := response.Objects[i+num*j]
|
||||
if o != byte(objects.None) {
|
||||
if o != byte(atlas.ObjectNone) {
|
||||
fmt.Printf("%c", o)
|
||||
} else if t != byte(atlas.TileNone) {
|
||||
fmt.Printf("%c", t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue