added super basic hate container class which doesnt actually do anything yet

This commit is contained in:
Tahir Akhlaq
2017-06-14 23:00:28 +01:00
parent 2c9ae60bbf
commit c162fb0eab
3 changed files with 92 additions and 0 deletions

View File

@@ -15,12 +15,14 @@ namespace FFXIVClassic_Map_Server.Actors
{
class Mob : Npc
{
public HateContainer hateContainer;
public Mob(int actorNumber, ActorClass actorClass, string uniqueId, Area spawnedArea, float posX, float posY, float posZ, float rot,
ushort actorState, uint animationId, string customDisplayName)
: base(actorNumber, actorClass, uniqueId, spawnedArea, posX, posY, posZ, rot, actorState, animationId, customDisplayName)
{
this.aiContainer = new AIContainer(this, new MobController(this), new PathFind(this), new TargetFind(this));
this.currentSubState = SetActorStatePacket.SUB_STATE_MONSTER;
this.hateContainer = new HateContainer(this);
}
}
}