From ce21ac209010f968e5165adb83b4b7d2f8d09b3f Mon Sep 17 00:00:00 2001 From: Laszlo Paillat Date: Sat, 3 Jul 2021 16:56:58 +0200 Subject: [PATCH] updated xml documentation (closes #117) --- source/DefaultEcs/World.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/DefaultEcs/World.cs b/source/DefaultEcs/World.cs index b160de01..67c51180 100644 --- a/source/DefaultEcs/World.cs +++ b/source/DefaultEcs/World.cs @@ -309,7 +309,7 @@ public bool SetMaxCapacity(int maxCapacity) public Components GetComponents() => ComponentManager.GetOrCreate(WorldId).AsComponents(); /// - /// Sets the value of the component of type on the current . + /// Sets the value of the component of type on the current . /// /// The type of the component. /// The value of the component. @@ -317,7 +317,7 @@ public bool SetMaxCapacity(int maxCapacity) public void Set(in T component) => ComponentManager.GetOrCreate(WorldId).Set(0, component); /// - /// Sets the value of the component of type to its default value on the current . + /// Sets the value of the component of type to its default value on the current . /// /// The type of the component. /// Max number of component of type reached. @@ -325,6 +325,7 @@ public bool SetMaxCapacity(int maxCapacity) /// /// Returns whether the current has a component of type . + /// It has nothing to do whether or not the current instance has an with a component of type . /// /// The type of the component. /// true if the has a component of type ; otherwise, false.