LuaGears.wiki
changeset 1758 eda4a2277089
parent 1755 b3ce3b8bc36d
child 1759 6725a497c482
equal deleted inserted replaced
1757:2c7eba50e7b0 1758:eda4a2277089
     1 #Summary List of gear-related functions in the Lua API
     1 #Ssummary List of gear-related functions in the Lua API
     2 
     2 
     3 = Lua API: Gear functions =
     3 = Lua API: Gear functions =
     4 This is a list of all functions in the [LuaAPI Lua API] that are related to gears. Refer to [LuaGuide] for an introduction into gears.
     4 This is a list of all functions in the [LuaAPI Lua API] that are related to gears. Refer to [LuaGuide] for an introduction into gears.
     5 
     5 
     6 <toc depth="3"/>
     6 <wiki:toc max_depth="3"/>
     7 
     7 
     8 == Functions for creating gears ==
     8 == Functions for creating gears ==
     9 
     9 
    10 === <tt>!AddGear(x, y, gearType, state, dx, dy, timer)</tt> ===
    10 === <tt>!AddGear(x, y, gearType, state, dx, dy, timer)</tt> ===
    11 This creates a new gear at position x,y (measured from top left) of kind `gearType` (see [GearTypes Gear Types]).  Gears are dynamic objects or events in the world that affect the gameplay, including hedgehogs, projectiles, weapons, land objects, active utilities and a few more esoteric things.
    11 This creates a new gear at position x,y (measured from top left) of kind `gearType` (see [GearTypes Gear Types]).  Gears are dynamic objects or events in the world that affect the gameplay, including hedgehogs, projectiles, weapons, land objects, active utilities and a few more esoteric things.