Updated To Fix Performance Issues (#71)
Updated To Fix Performance Issues (#71)

* NPC and Players added to map, click prints Info

- NPCs are drawn in Dark Orange
- Players are drawn in Green
- Clicking on a cell prints some Info:
  - Players on the cell (Name, inBattle, Afk)
  - Npcs on the cell (Id, name, Type)
  - Links on the cell (Destination map)

Code to calculate deltaX/Y for drawing moved to separate method to prevent code duplication

* Fix, LinQ import was missing

* Fix, Player/Npc Positions were not updating correctly

* Added appropriate calls for updating Players in MapView

* Fixed Crash when clicking map while not logged in

Thanks @Zonz

* Update MapView.xaml.cs

* Fix index out of bound when updating npc positions

* Add a TypeDescription Property on Npcs

* Update MapView.xaml.cs

* Tooltip with Cell Info added, removed Logging to Console

Many thanks to Zonz for adding the Tool-tip. Great work there.

* Missing import fixed

* Removed empty comment

* Added all Berry Trees to Npc Types

* No longer Refreshing the entire Map when a player is moving/enterning/leaving

Position Update Code Split into separate methods

* Fixed Null Pointer Exception of _mapGrid, Removed trailing Newline Character in Tooltip

bobus15/proshine,Silv3rPRO/proshine