Skip to content

Commit

Permalink
chore(cardinal): remove archetype code (WORLD-121) (#17)
Browse files Browse the repository at this point in the history
* remove archetype code

* rename read dir to query

* import fix
  • Loading branch information
technicallyty authored Oct 30, 2023
1 parent 8a52562 commit 06b22f4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 99 deletions.
20 changes: 0 additions & 20 deletions cardinal/game/archetypes.go

This file was deleted.

5 changes: 2 additions & 3 deletions cardinal/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"errors"
"fmt"
"github.com/argus-labs/starter-game-template/cardinal/query"

"github.com/argus-labs/starter-game-template/cardinal/component"
"github.com/argus-labs/starter-game-template/cardinal/read"
"github.com/argus-labs/starter-game-template/cardinal/system"
"github.com/argus-labs/starter-game-template/cardinal/tx"
"github.com/rs/zerolog"
Expand Down Expand Up @@ -50,8 +50,7 @@ func main() {
// NOTE: You must register your read endpoints here,
// otherwise it will not be accessible.
err = cardinal.RegisterQueries(world,
read.Archetype,
read.Constant,
query.Constant,
)
if err != nil {
log.Fatal().Err(err)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package read
package query

import (
"errors"
Expand Down
75 changes: 0 additions & 75 deletions cardinal/read/read_archetype.go

This file was deleted.

0 comments on commit 06b22f4

Please sign in to comment.