mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-12-05 16:16:33 +00:00
添加Room工厂方法
This commit is contained in:
parent
3c2e26d67e
commit
3575600161
@ -31,6 +31,10 @@ namespace Milimoe.FunGame.Core.Api.Utility
|
|||||||
{
|
{
|
||||||
instance = SkillFactory.GetInstance(DataSet, SkillType.Active);
|
instance = SkillFactory.GetInstance(DataSet, SkillType.Active);
|
||||||
}
|
}
|
||||||
|
else if (typeof(T) == typeof(Room))
|
||||||
|
{
|
||||||
|
instance = RoomFactory.GetInstance(DataSet);
|
||||||
|
}
|
||||||
return (T)instance;
|
return (T)instance;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using Milimoe.FunGame.Core.Interface.Entity;
|
using System.Data;
|
||||||
using Milimoe.FunGame.Core.Library.Constant;
|
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Data;
|
using Milimoe.FunGame.Core.Interface.Entity;
|
||||||
|
using Milimoe.FunGame.Core.Library.Constant;
|
||||||
|
|
||||||
namespace Milimoe.FunGame.Core.Entity
|
namespace Milimoe.FunGame.Core.Entity
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user