Пример #1
0
 public void Add(string name, Vector2 pos)
 {
     var fragment = new MapFragment {
         texid = Lookup [name],
         texpos = new PositionVector (pos)
     };
     Fragments.Add (fragment);
 }
Пример #2
0
        public void Add(string name, Vector2 pos)
        {
            var fragment = new MapFragment {
                texid  = Lookup [name],
                texpos = new PositionVector(pos)
            };

            Fragments.Add(fragment);
        }