Example #1
0
 /*
  * This method creates the road texture
  */
 private void AddRoad(string uuid)
 {
     connector.SendPacket(Road.AddRoad(uuid,
                                       GetTextures("tarmac_diffuse.png"),
                                       GetTextures("tarmac_normal.png"),
                                       GetTextures("tarmac_specular.png"), 0),
                          new Action <JObject>(data => { Console.WriteLine("Bike now following a textured road!"); }));
 }