19 lines
360 B
C#
19 lines
360 B
C#
using Fantasy.Entitas.Interface;
|
|
|
|
namespace NB.Map;
|
|
|
|
public class MapRoomDestroySystem : DestroySystem<MapRoom>
|
|
{
|
|
protected override void Destroy(MapRoom self)
|
|
{
|
|
self.Map = 0;
|
|
self.Password = string.Empty;
|
|
self.CreateTime = 0;
|
|
self.Owner = 0;
|
|
self.Units.Clear();
|
|
}
|
|
}
|
|
|
|
public static class MapRoomSystem
|
|
{
|
|
} |