Skip to content

v1.3.0

Compare
Choose a tag to compare
@yohamta yohamta released this 06 Nov 16:21
· 51 commits to main since this release
d58ea16

What's Changed

  • Add better APIs for getting / setting component data by @yohamta in #81
var Position = donburi.NewComponentType[PositionData]()
entity = world.Create(Position, Velocity);
entry := world.Entry(entity)

// You can get the data via the ComponentType
position := Position.Get(entry)

Full Changelog: v1.2.24...v1.3.0