Rename IEntity.GetComponents to GetAllComponents. (#68)

* Rename IEntity.GetComponents to GetAllComponents.

This is to avoid confusion.
A single s to distinguish it from GetComponent() is quite hard to miss.

* Update submodule.
This commit is contained in:
Pieter-Jan Briers
2018-05-10 19:21:15 +02:00
committed by GitHub
parent 205a4fc530
commit 20cf3a6a9b
5 changed files with 23 additions and 23 deletions

View File

@@ -119,7 +119,7 @@ namespace Content.Server.GameObjects
void RecalculateComponentThresholds()
{
foreach (IOnDamageBehavior onDamageBehaviorComponent in Owner.GetComponents<IOnDamageBehavior>())
foreach (IOnDamageBehavior onDamageBehaviorComponent in Owner.GetAllComponents<IOnDamageBehavior>())
{
AddThresholdsFrom(onDamageBehaviorComponent);
}