copygirl
28d2b3e077
Fix link in README and some whitespace
2 years ago
copygirl
99174ece5c
Use ecs_iter_is_true in Iterator.Any
2 years ago
copygirl
1607506e32
Remove ETX as Flecs now supports Empty
2 years ago
copygirl
5600a6f0ee
Fix compile errors due to changes in flecs-cs
2 years ago
copygirl
063fb40c5c
Update to newest flecs-cs
2 years ago
copygirl
3bea2a6ba0
Add Term, Filter, Query, Rule shorthands to World
2 years ago
copygirl
ef00efd4bc
Add Iterator<>.First()
2 years ago
copygirl
2c5d7f6c65
Add Iterator.Any()
2 years ago
copygirl
720a90549c
Change $This variable to $this
2 years ago
copygirl
1dca1e7988
Add Entity<>.IsEnabled
2 years ago
copygirl
c575046a61
Minimal world init, remove args constructor
2 years ago
copygirl
eec968d636
Update flecs-cs and Flecs to fix missing functions
2 years ago
copygirl
5264ffdc5f
Fix World not handling args correctly
2 years ago
copygirl
9eade0adb1
Add Entity<T>.Valid/AliveOrNull/Throw
2 years ago
copygirl
7830e72c29
Fix IsAlive throwing if entity is None
2 years ago
copygirl
b85a533ca4
Throw in EntityPath.From if entity is None
2 years ago
copygirl
42f843e690
Update to newest flecs-cs
2 years ago
copygirl
f7d17d46ab
Fix Observer not using new generic Iterator
2 years ago
copygirl
b93beed5ec
Fix CreateLookup throwing on same lookup creation
2 years ago
copygirl
948268e9ba
WIP
2 years ago
copygirl
1d1ba4fe4d
Remove EntityBase
2 years ago
copygirl
60919ef1f6
Add EntityBuilder constructor with parent arg
2 years ago
copygirl
0527919d47
Make World implement IDisposable
2 years ago
copygirl
c24052cfa7
Move EntityNotFoundException out of World class
2 years ago
copygirl
dc776ace1f
Remove LookupByType and related methods
2 years ago
copygirl
2d72e87290
Many minor changes
...
- Remove World.DependsOn - no longer needed
- Remove Id.AsEntity and .AsPair
- Don't display hex values in .ToString()
- Fix Id.ToString printing "Identifier", not "Id"
- Add a couple of TODO comments
- Rearrange some lines
2 years ago
copygirl
411f94c412
Fix IdFlags not being up-to-date with Flecs
2 years ago
copygirl
0ff026d639
Cleanup
2 years ago
copygirl
33bbd75fbc
Rename Term.InOut and .Oper, add InOut property
2 years ago
copygirl
60c031a119
Don't add phase in InitSystem
2 years ago
copygirl
d6c8129676
Allow passing multiple events to InitObserver
2 years ago
copygirl
6bc3ab8bfb
Add SpanToRef.GetOrNull
2 years ago
copygirl
46e171940e
Rename Iterator.FieldRef to .Field and more
...
- Add FieldOrEmpty for reference types
- Reorder methods in Iterator class
2 years ago
copygirl
462039db79
Correctly handle reference types
...
- Add ReferenceHandle struct,
a wrapper around GCHandle
- Use component hooks to make sure
handles are freed when not used
- Move SpanToRef into Iterator class
2 years ago
copygirl
619e2b24c6
More IdentifierRef.Pair variants
2 years ago
copygirl
230d1abfe3
Rename Identifier to Id
2 years ago
copygirl
26b9ad3a6a
Add IdentifierRef.Count to get count in-use
2 years ago
copygirl
1c844f00fd
Add IdentifierRef.Pair<TRelation> method
2 years ago
copygirl
f9fa808d68
Add support for iterator variables
...
- Add Iterator.Variable
- Add Iterator.GetVar and .SetVar methods
- Add ThisVar to Filter, Query and Rule
- Add Rule.Variables, shows all its variables
- Remove Iterator.SetThis
2 years ago
copygirl
1fa1fa4a3c
Minor cleanup, remove sealed modifier
2 years ago
copygirl
552022597f
Add World.New(parent, path) method
2 years ago
copygirl
ad9b3f6736
Add Entity.GetTargets which returns IEnumerable
...
Old GetTarget was removed / made private.
2 years ago
copygirl
c949257d1d
Fix incorrect EntityPath.Lookup exception message
2 years ago
copygirl
d2023961cc
Rename .Get to .GetOrThrow
2 years ago
copygirl
a58514d402
Add FlecsException and abort handling
2 years ago
copygirl
47090887ca
Add Iterator.IsField(int, Identifier) method
2 years ago
copygirl
9ab42afb0b
Add Identifier.AsEntity method
2 years ago
copygirl
7b380fd059
Rename Lookup functions for clarity
...
- EntityPath.Lookup can now optionally throw exception
2 years ago
copygirl
8097f233ff
Entity.None.ToString() returns "Entity.None"
2 years ago
copygirl
127e957c97
Initial commit
...
Split gaemstone.ECS into its own project
For older history, see copygirl/gaemstone@0c6d63af21d086f71d1c46acda5ee4c1d0220914
2 years ago