示例#1
0
        public void Hold(params Entity[] entities)
        {
            if (Holding == null)
            {
                Holding = new List <Entity>();
            }

            Holding.AddRange(entities);

            foreach (var ent in entities)
            {
                ent.Parent = this;
            }
        }