public SimpleBoss CreateBoss(int npcId, int x, int y, int direction, int type) { NpcInfo npcInfo = NPCInfoMgr.GetNpcInfoById(npcId); SimpleBoss boss = new SimpleBoss(PhysicalId++, this, npcInfo, direction, type); boss.Reset(); boss.SetXY(x, y); AddLiving(boss); boss.StartMoving(); return boss; }