mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-09 21:14:21 -04:00
* Filled out eLevelId enum - Added OpenDiablo2.Core.UT unit test project - Added ELevelIdHelper class which contains code that generates the enum from the mpq data - Added a unit test that verifies EngineDataManager works - Added a unit test that runs the ELevelIdHelper generate function - Renamed some enum values for constistency (e.g. Act1_Town -> Act1_Town1, as it is in the mpq) * Retargeted OpenDiablo2.Core.UT to .net Framework 4.6.1 * Added TestConsole TestConsole currently only supports writing the elevelids enum to a file Also, removed elevelids generation unit test * PlayerState and MobState
15 lines
291 B
C#
15 lines
291 B
C#
using OpenDiablo2.Common.Models.Mobs;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OpenDiablo2.Common.Interfaces.Mobs
|
|
{
|
|
public interface IMobCondition
|
|
{
|
|
bool Evaluate(MobState mob);
|
|
}
|
|
}
|