public void add_house_by_id(int type_id, int owner_id) { House_ h = Instantiate(house, new Vector3(0, 0, 0), new Quaternion()); h.type_id = type_id; h.owner_id = owner_id; data.Add(h); }
public void add_house(House_ house) { data.Add(house); }
public void add_house_by_id(int type_id, int owner_id) { House_ h = Instantiate(house, new Vector3(0, 0, 0), new Quaternion()); h.type_id = type_id; h.owner_id = owner_id; data.Add(h); }
public void add_house(House_ house) { data.Add(house); }