-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dependency to Ebitengine (#122)
* chore: remove dependency to ebitengine * add .idea to .gitignore * update examples for bumping up dependencies * update readme
- Loading branch information
Showing
15 changed files
with
143 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,10 @@ | |
# VSCode | ||
.vscode | ||
|
||
# Goland | ||
.idea | ||
|
||
# Mac | ||
.DS_Store | ||
|
||
vendor | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
package ecs | ||
|
||
import ( | ||
"github.com/hajimehoshi/ebiten/v2" | ||
) | ||
|
||
// UpdateSystem is a system that updates the world. | ||
type System func(ecs *ECS) | ||
|
||
// DrawSystem is a system that draws the world. | ||
type Renderer func(ecs *ECS, screen *ebiten.Image) | ||
type RendererWithArg[T Arg] func(ecs *ECS, arg *T) | ||
|
||
// Arg is an argument of the renderer. | ||
type Arg interface{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
module github.com/yohamta/donburi/examples/bunnymark_ecs | ||
|
||
go 1.19 | ||
go 1.21 | ||
|
||
replace github.com/yohamta/donburi => ../../ | ||
|
||
require ( | ||
github.com/hajimehoshi/ebiten/v2 v2.5.3 | ||
github.com/hajimehoshi/ebiten/v2 v2.6.6 | ||
github.com/jaypipes/ghw v0.10.0 | ||
github.com/yohamta/donburi v0.0.0-00010101000000-000000000000 | ||
golang.org/x/image v0.7.0 | ||
golang.org/x/image v0.12.0 | ||
) | ||
|
||
require ( | ||
github.com/StackExchange/wmi v1.2.1 // indirect | ||
github.com/ebitengine/purego v0.3.0 // indirect | ||
github.com/ebitengine/purego v0.6.0 // indirect | ||
github.com/ghodss/yaml v1.0.0 // indirect | ||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20221017161538-93cebf72946b // indirect | ||
github.com/go-ole/go-ole v1.2.6 // indirect | ||
github.com/jaypipes/pcidb v1.0.0 // indirect | ||
github.com/jezek/xgb v1.1.0 // indirect | ||
github.com/kr/text v0.2.0 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56 // indirect | ||
golang.org/x/mobile v0.0.0-20230301163155-e0f57694e12c // indirect | ||
golang.org/x/sync v0.1.0 // indirect | ||
golang.org/x/sys v0.6.0 // indirect | ||
golang.org/x/mobile v0.0.0-20230922142353-e2f452493d57 // indirect | ||
golang.org/x/sync v0.3.0 // indirect | ||
golang.org/x/sys v0.12.0 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
howett.net/plist v1.0.0 // indirect | ||
) |
Oops, something went wrong.