public void Draw(MapEngine map)
        {
            animation.Y = (int)direction;

            var pos = map.Transform(Pos);

            _actorManager.Draw(_charSetName, animation.SourceRect, animation.DrawRect(pos));
        }
        public void Draw(MapEngine map)
        {
            if (map.MapMeta.NPCs == null)
            {
                return;
            }

            foreach (var npc in map.MapMeta.NPCs)
            {
                npc.Animation.Y = (int)npc.Direction;

                var pos = npc.Pos - map.Camera;

                _actorManager.Draw(npc.CharSet, npc.Animation.SourceRect, npc.Animation.DrawRect(pos));
            }
        }