User Tools

Site Tools


dev:core:lzb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dev:core:lzb [2019-04-16 08:57]
141.76.181.191 created
dev:core:lzb [2019-04-16 10:00] (current)
141.76.181.9
Line 5: Line 5:
  
 This function adds a "LZB Checkpoint" for the specified [[dev:core:train]] at the specified [[dev:core:index]]. This causes the following things to happen: This function adds a "LZB Checkpoint" for the specified [[dev:core:train]] at the specified [[dev:core:index]]. This causes the following things to happen:
-* The train will brake appropriately so that at 'index' its speed is 'speed' or less +  * The train will brake appropriately so that at 'index' its speed is 'speed' or less 
-* In the moment the train passes 'index', 'callback' will be executed+  * In the moment the train passes 'index', 'callback' will be executed
  
   advtrains.lzb_add_checkpoint(train, index, speed, callback, udata)   advtrains.lzb_add_checkpoint(train, index, speed, callback, udata)
dev/core/lzb.1555397877.txt.gz · Last modified: 2019-04-16 08:57 by 141.76.181.191