Ejemplo n.º 1
0
        public override void Update(float elapsedSecs)
        {
            if (_mesh == null)
            {
                return;
            }

            if (_mesh.updateSource.Target == null)
            {
                _mesh.updateSource.Target = this;
            }
            if (_mesh.updateSource.Target == this)
            {
                _mesh.update(elapsedSecs);
            }
        }