Nez.Portable/ECS/Scene.cs
/// <summary>
/// add the Entity to this Scene at position, and return it
/// </summary>
/// <returns>The entity.</returns>
/// <param name="name">Name.</param>
/// <param name="position">Position.</param>
add the Entity to this Scene at position, and return it
add the Entity to this Scene at position and return it
public Entity createEntity(string name, Vector2 position)
        {
            var entity = new Entity(name);
            entity.transform.position = position;
            return addEntity(entity);
        }
public Entity createEntity ( string name , Vector2 position ) { var entity = new Entity ( name ) ; entity . transform . position = position ; return addEntity ( entity ) ; }
add the Entity to this Scene at position, and return it
add the Entity to this Scene at position and return it
None
name
string
None
position
Vector2
None