feat: create creature interface
This commit is contained in:
@@ -7,13 +7,13 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Events
|
||||
{
|
||||
public class NpcCreatedEvent : EventInterface
|
||||
public class CreatureCreatedEvent : EventInterface
|
||||
{
|
||||
public readonly NPC NPC;
|
||||
public readonly CreatureInterface Creature;
|
||||
|
||||
public NpcCreatedEvent(NPC npc)
|
||||
public CreatureCreatedEvent(CreatureInterface creature)
|
||||
{
|
||||
NPC = npc;
|
||||
Creature = creature;
|
||||
}
|
||||
}
|
||||
}
|
@@ -7,11 +7,11 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Events
|
||||
{
|
||||
public class NpcDeletedEvent : EventInterface
|
||||
public class CreatureDeletedEvent : EventInterface
|
||||
{
|
||||
public readonly uint Id;
|
||||
|
||||
public NpcDeletedEvent(uint id)
|
||||
public CreatureDeletedEvent(uint id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
Reference in New Issue
Block a user