From 7f8cf980442375950bde5adc31a2f25db737a05e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastiano=20Mandal=C3=A0?= Date: Tue, 12 Apr 2022 12:57:10 +0100 Subject: [PATCH] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 56353fe..c3ec506 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Svelto.ECS C# Entity Component System framework ===================================== -Real ECS framework for c\#. Enables to write encapsulated, decoupled, maintainable, highly efficient, data oriented, cache friendly, code without pain. Although the framework is platform agnostic \(compatible with c\# 7 and .net standard 2.0\), it comes with several Unity extensions. +Real ECS framework for c\#. Enables to write encapsulated, decoupled, maintainable, highly efficient, data oriented, cache friendly, code without pain. Although the framework is platform agnostic \(compatible with c\# 7 and above and .net standard 2.0 and above\), it comes with several Unity extensions. ## Svelto.ECS in pills Svelto.ECS is easy to start with, but full of tricks for expert users. The hardest problem to overcome is usually to shift mentality from OOP programming to ECS programming more than using the framework itself. If you want to read an ECS faq, you can check this article: https://github.com/SanderMertens/ecs-faq @@ -68,12 +68,10 @@ your first engine to apply behaviours to entities: public void Update() { - var (entityViews, count) = entitiesDB.QueryEntities(ExclusiveGroups.group0); + var (components, count) = entitiesDB.QueryEntities(ExclusiveGroups.group0); for (var i = 0; i < count; i++) - entityViews[i].counter++; - - Console.Log("Entity Struct engine executed"); + components[i].counter++; } readonly IEntityFunctions _entityFunctions;