public void addPart(string key, BulletPart part) { objLoader.objLoad(); part.setVertex(objLoader.vertex, objLoader.vertexIndex.Count); parts.Add(key, part); partCount++; }
public void addPart(TankPart part) { objLoader.objLoad(); part.setVertex(objLoader.vertex, objLoader.vertexIndex.Count); parts.Add(part.key, part); partCount++; }