public NpcEditor(string dataPath)
{
InitializeComponent();
this.dataPath = dataPath;
this.npcTextureScrollBar.Minimum = 0;
this.npcTextureScrollBar.LargeChange = 1;
this.npcTextureScrollBar.Maximum = (new DirectoryInfo(Constants.FILEPATH_GRAPHICS + "/Characters/")).GetFiles("*.png").Length - 1;
this.npcSpriteDisplay = new RenderWindow(this.npcSpritePic.Handle);
this.npcSpriteDisplay.SetActive(false);
this.LoadNpcs();
this.exiting = false;
new Thread(this.NpcAnimationLogic).Start();
}