12 lines
333 B
C#
12 lines
333 B
C#
using NahidaImpact.Gameserver.Game.Avatar;
|
|
|
|
namespace NahidaImpact.Gameserver.Game.Entity.Factory;
|
|
internal class EntityFactory
|
|
{
|
|
private uint _entityIdSeed;
|
|
|
|
public AvatarEntity CreateAvatar(GameAvatar gameAvatar, uint belongUid)
|
|
{
|
|
return new(gameAvatar, belongUid, ++_entityIdSeed, ++_entityIdSeed);
|
|
}
|
|
}
|