Add NetworkTransform component

This commit is contained in:
Wojciech Figat
2022-10-31 16:31:06 +01:00
parent 5e81d83648
commit 01a7ae8bd4
7 changed files with 272 additions and 5 deletions

View File

@@ -334,7 +334,7 @@ public:
/// Removes the element at specified iterator position.
/// </summary>
/// <param name="i">The element iterator to remove.</param>
void Remove(Iterator& i)
void Remove(const Iterator& i)
{
if (IsEmpty())
return;

View File

@@ -665,7 +665,7 @@ public:
/// </summary>
/// <param name="i">The element iterator to remove.</param>
/// <returns>True if cannot remove item from the collection because cannot find it, otherwise false.</returns>
bool Remove(Iterator& i)
bool Remove(const Iterator& i)
{
ASSERT(&i._collection == this);
if (i)

View File

@@ -496,7 +496,7 @@ public:
/// </summary>
/// <param name="i">The element iterator to remove.</param>
/// <returns>True if cannot remove item from the collection because cannot find it, otherwise false.</returns>
bool Remove(Iterator& i)
bool Remove(const Iterator& i)
{
ASSERT(&i._collection == this);
if (i)