Пример #1
0
 public static void PlaceObject(float x, float y, ref List <Object> objects, Object _object)
 {
     Game.Object sObject = new Game.Object(0, 0, 0, 0, 0, _object.width, _object.height, _object.sprite, _object.name);
     sObject   = _object;
     _object.x = x;
     _object.y = y;
     objects.Add(sObject);
 }