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();
        }
示例#3
0
 public Timer(ClockManager manager)
     : base(manager)
 {
 }
示例#4
0
 protected Clock(ClockManager manager)
 {
     _manager = manager;
 }
 public FrameAnimationManager(Frame frame)
 {
     _manager = new ClockManager();
     _frame = frame;
     _frameAnimations = new Dictionary<string, FrameAnimation>();
 }