public void Dispose()
 {
     _manager = null;
     _frame = null;
     _frameAnimations.Clear();
     _frameAnimations = null;
 }
        public Camera2D(Viewport viewport)
        {
            _viewport = viewport;
            _width = viewport.Width;
            _height = viewport.Height;

            _minPos = Vector2.Zero;
            _maxPos = new Vector2(ViewWidth, ViewHeight);
            _minZoom = 0f;
            _maxZoom = 5f;

            clockManager = new ClockManager();
        }
 public Timer(ClockManager manager)
     : base(manager)
 {
 }
 protected Clock(ClockManager manager)
 {
     _manager = manager;
 }
 public FrameAnimationManager(Frame frame)
 {
     _manager = new ClockManager();
     _frame = frame;
     _frameAnimations = new Dictionary<string, FrameAnimation>();
 }