chore: Added Initial Engine Code
This commit is contained in:
10
Engine.Core/Factory/TransformFactory.cs
Normal file
10
Engine.Core/Factory/TransformFactory.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Syntriax.Engine.Core.Abstract;
|
||||
|
||||
namespace Syntriax.Engine.Core.Factory;
|
||||
|
||||
public class TransformFactory
|
||||
{
|
||||
public ITransform Instantiate() => TypeFactory.Get<Transform>();
|
||||
public T Instantiate<T>(params object?[]? args) where T : class, ITransform
|
||||
=> TypeFactory.Get<T>(args);
|
||||
}
|
Reference in New Issue
Block a user