Comments (1)
Yeah, one thing I don't like about the add by interface method is how bad that looks. The good news is that go 1.18 is adding generics, which will provide a way to do all the add by interface stuff without all the current complexity. I'll probably end up doing something like AddGenericSystem(s System)
that will hopefully end up replacing all that with just a single line.
from ecs.
Related Issues (20)
- `...string` instead of `[]string` for NewEntity HOT 3
- Idiomatic Go - biggest breaking change yet HOT 4
- Consider unexporting the Systems type HOT 2
- Create documentation HOT 3
- Sync/atom instead of sync.Mutex in ecs.NewBasic
- Add Identifier interface, targeted at BasicEntity HOT 1
- Add a CONTRIBUTING.md
- move tests into their own package where possible
- Feature Request: Allow more than one interface in `World.AddSystemInterface` in and ex.
- Extensify tests HOT 3
- Update to GitHub actions
- Add a go mod
- example that uses ecs.BasicFace HOT 2
- ecs.BasicFace does not exist HOT 3
- Update readme to utilize multiple interfaces
- Duplicate Entities HOT 1
- Mistake in README
- Question: What is the rational behind dt being a `float32` instead of `time.Duration`/`float64`? HOT 3
- Require tests to succeed before merging HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecs.