Fix link in README and some whitespace

main
copygirl 1 year ago
parent 99174ece5c
commit 28d2b3e077
  1. 4
      README.md
  2. 2
      src/gaemstone.ECS/Entity.cs

@ -11,14 +11,14 @@ These classes have been split from the main [gæmstone] project. It is still a l
## Features ## Features
- Convenient wrapper types such as [Identifier], [Entity] and [EntityType]. - Convenient wrapper types such as [Id], [Entity] and [EntityType].
- [EntityPath] uses a unix-like path, for example `/Game/Players/copygirl`. - [EntityPath] uses a unix-like path, for example `/Game/Players/copygirl`.
- Fast type-to-entity lookup using generic context on [World]. (See below.) - Fast type-to-entity lookup using generic context on [World]. (See below.)
- Define your own [Components] as both value or reference types. - Define your own [Components] as both value or reference types.
- Query the ECS with [Iterators], [Filters], [Queries] and [Rules]. - Query the ECS with [Iterators], [Filters], [Queries] and [Rules].
- Create [Systems] for game logic and [Observers] to act on changes. - Create [Systems] for game logic and [Observers] to act on changes.
[Identifier]: ./src/gaemstone.ECS/Identifier.cs [Id]: ./src/gaemstone.ECS/Id.cs
[Entity]: ./src/gaemstone.ECS/Entity.cs [Entity]: ./src/gaemstone.ECS/Entity.cs
[EntityType]: ./src/gaemstone.ECS/EntityType.cs [EntityType]: ./src/gaemstone.ECS/EntityType.cs
[EntityPath]: ./src/gaemstone.ECS/EntityPath.cs [EntityPath]: ./src/gaemstone.ECS/EntityPath.cs

@ -21,7 +21,7 @@ public unsafe readonly partial struct Entity<TContext>
public bool IsValid => EntityAccess.IsValid(World, this); public bool IsValid => EntityAccess.IsValid(World, this);
public bool IsAlive => IsSome && EntityAccess.IsAlive(World, this); public bool IsAlive => IsSome && EntityAccess.IsAlive(World, this);
public string? Name { get => EntityAccess.GetName(World, this); set => EntityAccess.SetName(World, this, value); } public string? Name { get => EntityAccess.GetName(World, this); set => EntityAccess.SetName(World, this, value); }
public string? Symbol { get => EntityAccess.GetSymbol(World, this); set => EntityAccess.SetSymbol(World, this, value); } public string? Symbol { get => EntityAccess.GetSymbol(World, this); set => EntityAccess.SetSymbol(World, this, value); }
public EntityPath Path => EntityPath.From(World, this); public EntityPath Path => EntityPath.From(World, this);

Loading…
Cancel
Save