Beispiel #1
0
        public void AddDynamics(IDynamic dynamic)
        {
            // if the dynamics list doesn't exist, create a new list attached to the selected object
            if (dynamicsList == null)
            {
                dynamicsList = new ArrayList();
            }

            dynamicsList.Add(dynamic);
            this.isDynamic           = true;
            this.rigidity            = Rigidity.Active;
            this.dynamicStartMemento = this.CreateMemento();
        }
Beispiel #2
0
        public void AddDynamics(IDynamic dynamic)
        {
            // if the dynamics list doesn't exist, create a new list attached to the selected object
            if (dynamicsList == null)
            {
                dynamicsList = new ArrayList();
            }

            dynamicsList.Add(dynamic);
            this.isDynamic = true;
            this.rigidity = Rigidity.Active;
            this.dynamicStartMemento = this.CreateMemento();
        }