Пример #1
0
        private Entity(EntityData data, string name ,Bag bag )
            : this()
        {
            _Name = name;
            Bag = bag;

            _RotationMesh = data.CollisionRotation;
            _EntityType = data.Name;

            _SetBody(data.Mesh);
        }
Пример #2
0
 public Entity(EntityData data, string name)
     : this(data, name, new Bag())
 {
 }
Пример #3
0
 public Entity(EntityData data)
     : this(data , "" , new Bag())
 {
 }